[Bug c++/18522] New: Error message formatted badly

austern at apple dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 16 22:13:00 GMT 2004


[isolde:tmp]$ cat > a.cc
int foo();  
void bar() { &foo(); }
[isolde:tmp]$ /work/root/bin/g++ -c a.cc  
a.cc: In function 'void bar()':
a.cc:2: error: non-lvalue in unary %<&$>
[isolde:tmp]$ 

We don't really want users to see that "%<" junk, do we?

-- 
           Summary: Error message formatted badly
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: austern at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.6.0
  GCC host triplet: powerpc-apple-darwin7.6.0
GCC target triplet: powerpc-apple-darwin7.6.0


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



More information about the Gcc-bugs mailing list