This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

"Namespaces are fully supported." ????


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]