Re: [Swan-dev] Add -std=c99 to the compiler flags?

2015-02-08 Thread Paul Wouters
> I'm considering if we want _BSD_SOURCE defined (possibly for only one > compilation unit) so that we can use timeradd(3). To be honest, the > functionality we need seems really easy to implement ourselves. Would that be available on embedded machines with stripped down libc? Paul ___

Re: [Swan-dev] Add -std=c99 to the compiler flags?

2015-02-08 Thread D. Hugh Redelmeier
| From: Andrew Cagney | So, is -std=c99 in? I just scanned the manpage feature_test_macros(7). It seems that -std=c99 implicitly declares __STRICT_ANSI__. That name seems scary. I mean the STRICT part. Does that mean we lose things? Maybe only -pedantic causes that problem. Have you tried c