pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -std=gnu99 in compiler wrappers



Raymond Meyer <raymond.meyer%rambler.ru@localhost> wrote:
> Well looks like the reason for -std=gnu99 in compiler wrappers is because
> devel/glib2/Makefile contains
> 
> USE_LANGUAGES=         c c++ c99
> 
> Is there really a need for c99? It breaks this package build on Solaris

Unfortunately, it is in fact needed.  Certain code that uses C99
features does not compile with certain compilers unless you tell them to
use c99 mode (*cough* IRIX *cough*).

-Jan

-- 
Fate, it seems, is not without a sense of irony.

Attachment: pgpv4TuF1wwwb.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index