[Bug c/51391] Differences between setting Winline in command-line and through pragma GCC diagnostic

pnewell at cs dot cmu.edu gcc-bugzilla@gcc.gnu.org
Sat Dec 3 19:11:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51391

--- Comment #15 from pnewell at cs dot cmu.edu 2011-12-03 19:10:39 UTC ---
Manu:

Yes, Andrew did a great job of letting me know what the issue was and gave me
the necessary information to have a work-around within 1/2 hour. Fantastic
turnaround in my book, many thanks to him!

I appreciate the confirm that it is a bug. I can also believe that if they go
through different code paths there is a good chance there are more of these
"opps" situations. I'd rather not use #pragmas, but with third party code it
becomes necessary to get rid of all the warnings one can't do anything about
(except tell the third party ... and that hasn't produced any results yet).

I am not surprised that the fix is quick but the build/testing makes it a bit
of a question whether someone is going to want to do all that legwork. It isn't
exactly a show-stopper (smile) and, since I am stuck on F14 until spring of
2012, I wouldn't be able to make use of the patch until I upgrade. But the fix
is there (thanks) and I'll just see what happens.

Mostly, I wanted to tell both Andrew and you that I very impressed with how
this bug was handled. A very prompt response, solid info on what the issue is,
and an honest assessment of its chances for fixing. This is the first bug I
have submitted to gcc bugzilla and I certainly feel that it was worth the
effort for me to package up an example to send to you.

Thanks,
Paul



More information about the Gcc-bugs mailing list