pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/graphics/cairo



On Wed, Nov 22, 2023 at 09:06:53AM -0500, Greg Troxel wrote:
> nia <nia%NetBSD.org@localhost> writes:
> 
> > On Wed, Nov 22, 2023 at 06:47:14AM -0500, Greg Troxel wrote:
> >> Also, I don't follow "just to be safe".  If cairo documents that it
> >> needs gnu99, then that's how it is.   If it doesn't, and it needs it,
> >> then it's buggy and someone(tm) should file a bug and include the URL.
> >
> > USE_LANGUAGES=      c99 previously would imply c99-with-extensions-enabled,
> > i.e. gnu99.
> >
> > Certain platforms (e.g. SunOS) are very restrictive when extensions
> > are disabled, carefully checking which functions are used in the
> > software. I do not currently have acess to these platforms. Therefore,
> > I am uncomfortable unconditionally setting strict standards mode when
> > software expects (as cairo does) to be compiled with default settings
> > (usually gnu99).
> 
> Does cairo document that it needs gnu99?

Of course not. It needs a c99 compiler and by uses the default settings
of that compiler, which in GCC and Clang means extensions will be enabled
- i.e. gnu99.



Home | Main Index | Thread Index | Old Index