> You _may_ be able to get away with inserting "#undef"
> statements that
> remove the _C and _S definitions or even with "-U_C
> -U_S" on the g++
> command line, but at that point, you're on your own.
> 
> The right answer is to fix the code.

I agree with all you are saying here. I just wanted to say that even when you 
use legal names, you can still have problems. If for instance _C and _S were 
replaced by CS and SS, the header sys/regset.h would break the code as well on 
sol-x86 (this header is one of the worst I have met for macro pollution).
--
This message posted from opensolaris.org

Reply via email to