[Bug c++/59861] New: Inconsistent error output format

milasudril at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 17 14:38:00 GMT 2014


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

            Bug ID: 59861
           Summary: Inconsistent error output format
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: milasudril at gmail dot com

There are inconsistencies in how gcc reports function names on compile error

Note the use and no use of quotation marks:

/wand-src/wand.cpp: In member function ‘void Wand::Wand::targetsInstall(const
Herbs::Array<Wand::Target*>&, Wand::Invoker&) const’:
./wand-src/wand.cpp:923:22: error: no matching function for call to
‘Wand::TargetAdaptorImpl::TargetAdaptorImpl()’
...
./wand-src/target_adaptor_impl.h:19:4: note:
Wand::TargetAdaptorImpl::TargetAdaptorImpl(const Wand::Target&, const
Herbs::Path&)

It would be better if a function name always is surrounded by quotation marks
since it makes messages easier to parse.


More information about the Gcc-bugs mailing list