On Wed, 2005-05-25 at 07:36 +1000, Erik de Castro Lopo wrote: > When I'm developing, I also add -Werror.
Always! > > In the near future, I will probably also add -Wswitch, -Wfloat-equal, > and -Winline. We added -Winline recently in order to solve some build problems on pre-historic RedHat. The problem is that it means I need to remove inlines which are probably ok in the context they were initially intended, but for whatever reason aren't ok now. Now, if you have a great deal of faith in the compiler's ability to optimize then that's all fine. The trouble is that I simply lack that faith in gcc's ability to optimize code (especially on P4). Hmm. Which I've just realised means that I was operating on the assumption that gcc would generate multiple copies of the code if there were places it could be inlined and other places where it couldn't. I don't actually know if that's true. Interesting discussion. James. -- My love burns for you A Thermonuclear rose Now lets go make out -- http://www.solardeathray.com/rose.html
signature.asc
Description: This is a digitally signed message part
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
