This is the mail archive of the gcc-bugs@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]

[Bug c++/71402] -Wunused-variable warnings ignore initialization side effects


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71402

--- Comment #11 from Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com> ---
5.3 has the bug I mentioned above. It makes the pragmas  believe that, for
this warning, the location is at the end of the file, which is after the
pop. Perhaps you can trick gcc by placing another pragma ignored at the end
of the file. But that will silence all warnings that suffer from this bug.

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