TIP: Click on subject to list as thread! ANSI
echo: tub
to: Bo Simonsen
from: mark lewis
date: 2003-11-10 19:16:50
subject: sqafix compilation errors

ml>> 293 #ifdef NDEBUG
 ml>> 294 #  define ASSERT(p) ((void)0)
 ml>> 295 #else
 ml>> 296 #  define ASSERT(p) ((p) ? (void)0 : (void) fprintf(stderr, \
 ml>> 297                      "Assertion failed: %s, file %s,
line %d\n\a",
 ml>> \
 ml>> 298                      #p, __FILE__, __LINE__ ) )
 ml>> 299 #endif

 BS> Hmmm.. I can't understand why my gcc didn't fault on that one!

what did you see other than the \'s on 296 and 297? what other error is in there?

 BS> Try to do a CVS checkout.

that's how i got what i have now... i've about taken to blowing the whole
tree and starting from scratch each time i retrieve the stuff from cvs...

 ml>> ((USHORT)0x0F00)

 BS> No, the count of ( match the count of ), just the problem
 BS> about \ in defines.

right, i figured that out later...

 ml>> here're the lines in section 173/174 with line numbers added..

 ml>> 169 #ifdef NDEBUG
 ml>> 170 #  define ASSERT(p) ((void)0)
 ml>> 171 #else
 ml>> 172 #  define ASSERT(p) ((p) ? (void)0 : (void) AuxLog( \
 BS>                                             The problem -----^

yup... in all three of those, from what i see...

 ml>> 173                      "Assertion failed: %s, file %s,
line %d", \
 ml>> 174                      #p, __FILE__, __LINE__ ) )
 ml>> 175 #endif

[trim]

 BS> What version of gcc do you use?

2.95.3 on mandrake 7.1 (helium)...

)\/(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™.