From: Andris Pavenis To: Martin Rehak , djgpp AT delorie DOT com Subject: Re: float.h problem Date: Tue, 1 Jul 2003 09:36:07 +0300 User-Agent: KMail/1.5.2 References: <3F00CCA9 DOT 8050006 AT feld DOT cvut DOT cz> In-Reply-To: <3F00CCA9.8050006@feld.cvut.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307010936.07802.pavenis@latnet.lv> Reply-To: djgpp AT delorie DOT com 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 #endif in GCC copy of float.h. Please look whether You have this in lib/gcc-lib/djgpp/3.3/include/float.h Andris