[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-09 Thread eric_moyer at yahoo dot com
--- Comment #4 from eric_moyer at yahoo dot com 2010-08-09 22:10 --- That is great to hear. I've wanted this feature for years (but never took the time to create a bugzilla account.) Thank you. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45203

[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-08-09 21:28 --- (In reply to comment #2) > I want to disable warnings for particular lines of code rather than whole > files. See http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas And http://gcc.gnu.org

[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-05 Thread eric_moyer at yahoo dot com
--- Comment #2 from eric_moyer at yahoo dot com 2010-08-06 02:09 --- If you are talking about "#pragma GCC diagnostic" that looks good. Turning off error classes is sufficiently fine grained. However the pragma is only guaranteed to work on a file-wide scope. The 4.5 manual says, "A

[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-08-05 23:17 --- Starting with 4.5 you can disable a class of warnings in the source. This is better than a regular expression as it is safe for internationalization. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45203

[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-05 Thread eric_moyer at yahoo dot com
-- eric_moyer at yahoo dot com changed: What|Removed |Added Severity|normal |enhancement Summary|[Feature request] #pragma |[Feature req