[libbluray-devel] build: check C99 support in configure

Petri Hintukainen phintuka at users.sourceforge.net
Thu Feb 21 20:46:55 CET 2013


On ti, 2013-02-19 at 19:52 +0100, Diego Elio Pettenò wrote:
> On 19/02/2013 15:46, Petri Hintukainen wrote:
> > This changes compiler command line from -std=c99 to -std=gnu99
> 
> That is, mostly, intentional.
> 
> GNU99 is just a relaxed version of C99 — anything that builds with C99
> builds with GNU99. The opposite is not always true, but that's no more
> nor less what happens with other compilers, so there is no real gain in
> forcing C99 vs GNU99.

I'm worried about portability. There have been problems almost every
time when some non-standard extension has slipped in the code. That's
why "gnu" ringed some bells :)

Looks like using -pedantic with --std=gnu99 warns when non-portable
extensions are used ?


- Petri



More information about the libbluray-devel mailing list