On Aug 14, 2007, at 6:27 PM, Andy Dougherty wrote:

see above. It would have been nice if gcc simply rejected the attribute
so that testing the exit status of gcc would be sufficient.  gcc-3.4
doesn't have this problem.  The test could either be made to only work
for gcc > 3.3, or it could try parsing the gcc-3.3 warning output (being careful to handle localization issues appropriately, and avoiding false
positives for unrelated warnings)

The attribute sniffer looks at the compiler's output and says if it sees "warning" or "error", that the attribute must not work.

xoa

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance




Reply via email to