Subj : sqafix compilation errors
To : Bo Simonsen
From : mark lewis
Date : Mon Nov 10 2003 07:16 pm
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)