mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-02-13 21:54:40 +00:00
namespace #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TeLLie on GitHub (Sep 23, 2021).
Hi
When compiling fluidsynth i get this errors:
C:/usr/lib/gcc/i686-pc-os2-emx/9/include-fixed/stdlib.h:107:19: error: expected initializer before '__dead2'
107 | void abort(void) __dead2;
| ^~~~~~~
C:/usr/lib/gcc/i686-pc-os2-emx/9/include-fixed/stdlib.h:108:15: error: expected initializer before '__pure2'
108 | int abs(int) __pure2;
and:
C:/usr/include/c++/9/cstdlib:130:11: error: '::abort' has not been declared
130 | using ::abort;
| ^~~~~
C:/usr/include/c++/9/cstdlib:145:11: error: '::div' has not been declared
145 | using ::div;
| ^~~
C:/usr/include/c++/9/cstdlib:146:11: error: '::exit' has not been declared
146 | using ::exit;
I ask Ko about this and he tell me:
namespace problem, c++ headers expect those functions to be in global namespace