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
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