This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: A strange gcc behavior, and an argument against -Wno-unused


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

>> >  Or append "-Wunused-value"?
>> 
>> Sounds like a good first step to me.

Eli> What version of GCC introduced this switch?

It seems to have been added here:

    Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>

            * flags.h (warn_unused_function, warn_unused_label,
            warn_unused_parameter, warn_unused_variable, warn_unused_value):
            Replace ``warn_unused''.
            (set_Wunused): Add declaration.
    [...]

That would put it in 3.0 and maybe 2.95.3.

Tom


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