This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12221] fstream.tcc:463: error: expected unqualified-id
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2003 10:18:32 -0000
- Subject: [Bug libstdc++/12221] fstream.tcc:463: error: expected unqualified-id
- References: <20030909095340.12221.alexander.riesen@synopsys.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12221
------- Additional Comments From gdr at integrable-solutions dot net 2003-09-09 10:18 -------
Subject: Re: New: fstream.tcc:463: error: expected unqualified-id
"alexander dot riesen at synopsys dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| For such code:
|
| #include <algorithm>
| // some header file doing #define:
| #define min(a,b) ((a)<(b)?(a): (b))
| #include <fstream>
This is not a problem in the library. The code is simply bogus.
min is a reserved name. This PR should be resolved invalid.
-- Gaby