I have modified crt to use native-mingw headers and deleted the
ros-local copies. This works fine on windows but people are having
problems on linux. It seem on linux the search order for header files
are different from windows. On windows, mingw\include is searched first,
then mingw\lib\gcc\mingw32\x.x.x\include, but on linux
mingw/x.x.x/include is searched first, then mingw/include. This means
that some mingw headers are never included in linux (those who exist
both places), specially float.h. The mingw float.h has #include_next
<float.h>, so its obvious that the mingw headers are supposed to go first.
How do i fix this? Is this a mingw bug?
Regards
Gunnar
Show replies by date