tech-pkg archive

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

Re: discussion seeked for c++ variants in USE_LANGUAGES

On Thu, Nov 12, 2015 at 08:46:21AM -0500, Greg Troxel wrote:
> Richard PALO <> writes:
> > Again, I'd like to update making c99, c11 and c++11 use the
> > same -std=gnu* as  I wonder if perhaps adding -Wpedantic is
> > worthwhile.
> I don't see why this is reasonable.  Programs should be written to
> standards, not gcc extensions.   It may be that we should have a
> package-settable variable to note that the package is in gnu c dialect
> instead of a standard one.  Or that may be tilting at windmills.

"Standards" in this sense *imply* disabling various POSIX features as
well. It is extremely broad and rarely useful.


Home | Main Index | Thread Index | Old Index