On Wed, Apr 21, 2010 at 12:33, Christopher Sean Morrison <[email protected]> wrote:
> On Apr 21, 2010, at 10:54 AM, Tom Browder wrote:
...
> Interesting, g++ shouldn't set __STDC__ unless you pass -std flags or
> used gcc, or maybe things changed for 4.5.

I checked all the way back to g++-4.4.1 and they all do.  But I think
it comes from the C preprocessor.  I did

  touch t.h && cpp -E -dM t.h | grep __STDC__

and got

  #define __STDC__ 1

> Hm, not a bad idea but how about further simplification?

I'll work on it.

> Your comment raises a point that we've had to explain numerous times,
> namely that we don't care about src/other.  So perhaps we should just
> quiet all compiler warnings when we're traversing through there..  If
> there are warnings in our code, we should fix them.

That's a good idea.

Regards,

-Tom

------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to