how to fool gcc?

Dag-ErlingSmørgrav des at des.no
Tue Feb 10 09:52:42 PST 2004


Tim Kientzle <kientzle at acm.org> writes:
> 1) Convert RETURNS(s) into a function rather than a macro.
> 2) Use a ternary (someone else suggested this)
> 3) Remove the printf-like declaration (Yes, this is distasteful.)
> 4) Add an intermediate variable:
> [...]
> Good luck, (let us know what works!)

I ended up with #4.  Thanks for all the suggestions!

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list