| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | sqafix compilation errors |
preface: i do not /know/ C but have been able to wheedle my way thru some
problems in the past and even create a few very minor programs... i can
only point out what i see and ask questions or just wait for a solution...
in the sqafix sources retrieved from cvs.sourceforge.net, i get the
following errors...
=====
In file included from dw-def.h:34,
from dw-lst.h:35,
from sqafix.h:63,
from sqafix.c:62:
dw-saa.h:297: parse error before string constant
dw-saa.h:297: stray '\' in program
dw-saa.h:298: undefined or invalid # directive
=====
here're the lines in that section with line numbers added..
293 #ifdef NDEBUG
294 # define ASSERT(p) ((void)0)
295 #else
296 # define ASSERT(p) ((p) ? (void)0 : (void) fprintf(stderr, \
297 "Assertion failed: %s, file %s, line %d\n\a", \
298 #p, __FILE__, __LINE__ ) )
299 #endif
i'm not sure i see the two afore mentioned problems...
=====
In file included from dw-lst.h:35,
from sqafix.h:63,
from sqafix.c:62:
dw-def.h:140: parse error before `USHORT'
dw-def.h:173: parse error before string constant
dw-def.h:173: stray '\' in program
dw-def.h:174: undefined or invalid # directive
=====
line 140 is...
(USHORT)0x0F00)
and in comparison with other lines containing USHORT in that
area, it is possible that it should read
((USHORT)0x0F00)
[this one i believe i have fixed as it hasn't shown up in subsequent
compile attempts...]
here're the lines in section 173/174 with line numbers added..
169 #ifdef NDEBUG
170 # define ASSERT(p) ((void)0)
171 #else
172 # define ASSERT(p) ((p) ? (void)0 : (void) AuxLog( \
173 "Assertion failed: %s, file %s, line %d", \
174 #p, __FILE__, __LINE__ ) )
175 #endif
this section is almost identicle to the one in dw-saa.h and the error must
be something similar if not the very same...
=====
In file included fron sqafix.c:62:
sqafix.h:261: undefined or invalid # directive
=====
here're the lines in that section with line numbers added..
257 #ifdef NDEBUG
258 # define ASSERT(p) ((void)0)
259 #else
260 # define ASSERT(p) ((p) ? (void)0 : (void) Assert( \
261 #p, __FILE__, __LINE__ ) )
262 #endif
this section is almost identicle to the one in dw-saa.h and dw-def.h... the
error must be something similar if not the very same as the other two...
in all three, i'm wanting to question, at least, the #p on the last line...
i have no idea on the "parse error before string constant"
errors...
i believe that once these few problems are handled, i'll be able to conpile
sqafix and thus complete a "make build" of a new install of the
maximus cvs tree...
)\/(ark
* Origin: (1:3634/12)SEEN-BY: 633/267 270 @PATH: 3634/12 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.