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

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

 



On 2015.07.31 at 04:47 -0400, Jeffrey Walton wrote:
> On Fri, Jul 31, 2015 at 4:44 AM, Markus Trippelsdorf
> <markus@xxxxxxxxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux