Re: How to turn off the compiler warning "missing initializer"

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

 



On 1 April 2010 15:09, "Markus Bühren" <bhr2@xxxxxx> wrote:
> Hi,
>
> thanks for your quick answers!! I found out that compiling with
>
> -Werror -Wno-error=missing-field-initializers
>
> results in an error, but compiling with
>
> -Werror -Wno-missing-field-initializers
>
> neither shows the warning nor results in an error!
>
> This behaviour differs from the behaviour with other warnings, like unused-parameter or sign-compare. This looks like a bug to me, what do you think?

Yes it is a bug. Please open a PR, attach a self-contained testcase,
add manu@xxxxxxxxxxx to the CC list and paste there also the output
when using -Wall -Wextra -fdiagnostics-show-option.

Thanks,

Manuel.


[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