Mail Archives: djgpp/2003/07/01/02:50:31
On Tuesday 01 July 2003 02:50, Martin Rehak wrote:
> I upgraded to GCC 3.3 package now trying to compile new Allegro 4.11.0
> but got error message that file poly3d.c and scene3d.c including float.h
> missing RC_CHOP, MCW_PC... constant
> (line: old87 = _control87(PC_24 | RC_CHOP, MCW_PC | MCW_RC);)
>
> This was defined in old float.h (from GCC 3.2.3) but not in new header.
> So I solved it with this ditry method:
> 1) rename old (GCC 3.2.3) float.h to floatold.h
> 2) to new float.h I added line #include floatold.h
> then the two mentioned Allegro's C files compiled succesfully.
>
> But I have other problems with compilling Allegro due to
> conio.h error at line 74.
This was problem with 15th May build:
GCC-3.3 has it own float.h and as result DJGPP one was not included.
It was fixed in later update, which I uploaded at end of previous week, but
have not yet announced. There I editted GCC float.h to include also
DJGPP one: I put
#ifdef __DJGPP__
#include_next <float-h>
#endif
in GCC copy of float.h. Please look whether You have this in
lib/gcc-lib/djgpp/3.3/include/float.h
Andris
- Raw text -