FS#28783 - [mingw32-gcc] float.h #include typo
Attached to Project:
Community Packages
Opened by Schala (schalaz) - Monday, 05 March 2012, 06:05 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 14 March 2012, 09:52 GMT
Opened by Schala (schalaz) - Monday, 05 March 2012, 06:05 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 14 March 2012, 09:52 GMT
|
Details
Description: The header file float.h (located in
/usr/i486-mingw32/include) has an #include statement
pointing to float.h in the
/usr/lib/gcc/i486-mingw32/4.6.1/include/ directory despite
the package version being 4.6.2. This has led to compiling
errors for me (specifically when I was trying to test build
a 5.0.5 version of Allegro for MinGW). The error I got is as
follows:
/usr/i486-mingw32/include/float.h:38:60: fatal error: /usr/lib/gcc/i486-mingw32/4.6.1/include/float.h: No such file or directory Again, I am using mingw32-gcc version 4.6.2, so obviously the #include statement needs to be tweaked from 4.6.1 to 4.6.2. Additional info: * mingw32-gcc 4.6.2-1 Steps to reproduce: * Attempt to compile a i486-mingw32 targetted program utilizing <float.h>. This results in a compiler error because of a nonexistant directory float.h refers to. |
This task depends upon
Comment by
Sven-Hendrik Haase (Svenstaro) -
Wednesday, 14 March 2012, 02:45 GMT
Isn't this actually an upstream error? I mean, we can fix it sure,
but upstream should be notified?
Comment by Sergej Pupykin (sergej) -
Wednesday, 14 March 2012, 09:50 GMT
It is package problem which caused by some upstream problem. There
is ugly fix in mingw32-runtime package.