This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12582] "declaration of `operator()' as non-function"
- From: "mckelvey at maskull dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2003 02:36:10 -0000
- Subject: [Bug c++/12582] "declaration of `operator()' as non-function"
- References: <20031012015759.12582.mckelvey@maskull.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=12582
------- Additional Comments From mckelvey at maskull dot com 2003-10-12 02:36 -------
Excuse me, but if the code is invalid, wasn't it MADE invalid by <locale>
declaring the typedef outside of namespace std?
Also, the error message is wrong in any case, or at least very obscure.