Andy Ross wrote:
> 
>  > I believe so, although some just ignore namespace declarations
>  > (gcc-2.95!).  My only guideline is Boost, it targets many the same
>  > platforms we do (and some we don't).
> 
> The gcc-2.95 I'm using (the one named something different, packaged by
> a distribution vendor I'm afraid to name) supports namespaces just
> fine.  They aren't ignored.  The following, for example, compiles and
> produces the expected results, despite the fact that foo() is declared
> in both namespaces:
> 
>     #include <iostream>
> 
>     namespace a { void foo() { cout << "a\n"; } };
>     namespace b { void foo() { cout << "b\n"; } };
> 
>     int main()
>     {
>         a::foo();
>         b::foo();
>     }
> 

Maybe its just std:: thats ignored.

Bernie

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to