"Namespaces are fully supported." ????

Khimenko Victor khim@sch57.msk.ru
Mon Sep 14 10:24:00 GMT 1998


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 --






More information about the Gcc mailing list