[Bug c++/56725] extra spaces in error message

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 27 20:24:00 GMT 2013


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

--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-03-27 20:24:47 UTC ---
No, true means something was reported (error or warning), false means that
nothing was reported. The same as for pedwarn and warning. pedwarn also returns
true for --pedantic-errors, even thought it gives an error then.

So either:

if (permerror(...)) inform(...)

or 

permerror() && inform()

but I think the latter was frowned upon by the powers that be.


More information about the Gcc-bugs mailing list