Bug 18522 - Error message formatted badly
Summary: Error message formatted badly
Status: RESOLVED DUPLICATE of bug 18001
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-16 22:12 UTC by Matt Austern
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: powerpc-apple-darwin7.6.0
Target: powerpc-apple-darwin7.6.0
Build: powerpc-apple-darwin7.6.0
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Austern 2004-11-16 22:13:02 UTC
[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?
Comment 1 Wolfgang Bangerth 2004-11-16 22:45:14 UTC
That's a duplicate of PR 18001. Sounds easier to fix than a good number 
of other PRs, but nothing's happening apparently... 
 
W. 

*** This bug has been marked as a duplicate of 18001 ***