| delorie.com/archives/browse.cgi | search |
| From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: wierd math.h error ---isinff, "long"? |
| Date: | 10 Jun 2003 09:05:22 GMT |
| Organization: | Aachen University of Technology (RWTH) |
| Lines: | 22 |
| Message-ID: | <bc470i$1cb$1@nets3.rz.RWTH-Aachen.DE> |
| References: | <3ee4efa9$0$31822$9b622d9e AT news DOT freenet DOT de> |
| NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
| X-Trace: | nets3.rz.RWTH-Aachen.DE 1055235922 1419 137.226.32.75 (10 Jun 2003 09:05:22 GMT) |
| X-Complaints-To: | abuse AT rwth-aachen DOT de |
| NNTP-Posting-Date: | 10 Jun 2003 09:05:22 GMT |
| Originator: | broeker@ |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
deckerben <bdeck AT lycos DOT co DOT uk> wrote: > /dev/d/usr/djgpp/include/math.h:148: parse error before "long" > /dev/d/usr/djgpp/include/math.h:149: parse error before "long" > /dev/d/usr/djgpp/include/math.h:150: parse error before "long" > When these lines in math.h look like: > extern int isinff(float); > extern int isnanf(float); > extern int finitef(float); Obviously, there is no occurence of the word "long" in these lines. Which means some other part of the build process though it as a clever idea to #define something or other to a token sequence containing the word "long". You'll have to compile one case where this error strikes with the '-save-temps -dD' options added to the gcc command line, and inspect the resulting *.i file very closely. That'll show you where this #define is. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |