[Coin-discuss] -pedantic-errors incompatible with #warning
Lou Hafer
lou at cs.sfu.ca
Tue Nov 21 14:48:07 EST 2006
David,
I've just come to the same conclusion by another route (the thread
labelled `Compile BCP 1.0.0 ...', now in coin-bcpdiscuss). Seems like the
appropriate change would be to remove `defined(__sparc)' from the guard at line
73 of CoinSignal.hpp. I'll file this as a ticket against CoinUtils. Does
anyone reading this know if the check for __sparc was put in to solve some other
problem?
--pedantic-errors has additional issues. While I can't recall a
specific example off the top of my head, I've run across a couple of situations
where the standard installation of GCC would not pass --pedantic-errors. I'd
have to go back and look for specifics.
In the trunk version of coin.m4(line 547), there's a start at
suppressing the strict checks, but it'll be a little bit before it's
conveniently accessible.
Lou
More information about the Coin-discuss
mailing list