This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: When did -Wmaybe-unitialized make its appearance?


On 2015.07.31 at 04:47 -0400, Jeffrey Walton wrote:
> On Fri, Jul 31, 2015 at 4:44 AM, Markus Trippelsdorf
> <markus@trippelsdorf.de> wrote:
> > On 2015.07.31 at 04:30 -0400, Jeffrey Walton wrote:
> >> >> When did -Wmaybe-unitialized make its appearance?
> >> >
> >> > The svn or git repositories are publicly available. They should give you
> >> > the answer.
> >>
> >> Would it be possible to start listing this information somewhere?
> >> Surely I'm not the only person who needs to know the intersection of
> >> features with versions.
> >
> > Instead of using gcc version checks for each feature, you could simply
> > use feature checks at configuration time.
> Thanks. There is no configuration time.
> 
> The idea is you run it and things just work. It takes a little extra
> upfront work (like now) to save the headaches later.

Well, then look at how the Linux kernel does these checks without
configuration time. See e.g. cc-option in scripts/Kbuild.include.

-- 
Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]