[quake3] Re: C++? when did that happen?
vincent at cojot.name
vincent at cojot.name
Thu Oct 6 02:48:59 EDT 2005
Just my 2cents but here's what I had added when I ported the Torque to
Solaris/Sparc:
#ifndef NULL
// #warning "NULL is not defined..."
#ifndef __cplusplus
#define NULL ((void *)0)
#else /* C++ */
#define NULL (0)
#endif
#endif
Doing something like this may help keeping the NULL's in the code and
still make the C & C++ compilers happy, maybe...
Just my 2c (I'm not proficient enough in these languages..).
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote _.,-*~'`^`'~*-,._ coyote at NOSPAM4cojot.name
They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places. - Robert Frost
More information about the quake3
mailing list