delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/30/20:00:05

Message-ID: <3F00CCA9.8050006@feld.cvut.cz>
Date: Tue, 01 Jul 2003 01:50:01 +0200
From: Martin Rehak <rehakm2 AT feld DOT cvut DOT cz>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: cs
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: float.h problem

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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019