Skip to content

error when including math.h on i586-pc-msdosdjgpp-g++ #44

@MESYETI

Description

@MESYETI
/usr/bin/ccache i586-pc-msdosdjgpp-g++ -c src/builtins.cc -O0 -std=c++17 -Wall -Wextra -Werror -pedantic -ggdb -fms-extensions -DYSL_VERSION='"a73d29d96a432a528691399ea41dee5288de0f02"' -o bin/builtins.o
In file included from /usr/lib/gcc/i586-pc-msdosdjgpp/12.1.0/include/c++/cmath:47,
                 from /usr/lib/gcc/i586-pc-msdosdjgpp/12.1.0/include/c++/math.h:36,
                 from src/_components.hh:5,
                 from src/builtins.hh:4,
                 from src/builtins.cc:1:
/usr/lib/gcc/i586-pc-msdosdjgpp/12.1.0/include/c++/bits/std_abs.h:38:15: fatal error: stdlib.h: No such file or directory
   38 | #include_next <stdlib.h>
      |               ^~~~~~~~~~
compilation terminated.

code:

#include <map>

i ran the setenv script in the linux64 release before doing this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions