This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"Namespaces are fully supported." ????
- To: egcs at cygnus dot com
- Subject: "Namespaces are fully supported." ????
- From: "Khimenko Victor" <khim at sch57 dot msk dot ru>
- Date: Mon, 14 Sep 1998 19:10:02 +0400 (MSD)
- Organization: MCCME
I'm could not compile even namespace-detection program from MICO with pgcc 1.1b!
Or this is pgcc-specific bug ?
Here is program:
-- cut --
namespace foo { typedef int bar; }
foo::bar i;
using foo;
bar j;
int main() { return 0; }
-- cut --
Here is output:
-- cut --
$ g++ test.cc
test.cc:3: parse error before `;'
test.cc:4: syntax error before `;'
-- cut --