Re: gcc (g++4.4.3) have no right to modify the name of my varialbe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"eric lin" <fsshl@xxxxxxxxxxx> writes:

> dear alex:
>   thanks your email, but
> (1) your suggestion is not work, it still get same error
> (2) g++(4.4.3) have no right to modify the name of my variable, it is "string" that I use(or Bjarne Stroustrup use)
>     not "String" that gcc/g++4.4.3 show on the compiler error
> (3) if I put std::string replace string on Window.cpp file, g++ will complaint

Please never send e-mail to both the mailing lists gcc@xxxxxxxxxxx and
gcc-help@xxxxxxxxxxxx  This e-mail is not appropriate for
gcc@xxxxxxxxxxx, and should only have been sent to gcc-help.  Thanks.

g++ never changes the names of types.  If you are seeing String where
you wrote string, then some #define is in effect.

If you want help with this, you need to provide a complete standalone
test case.  However, from what I have seen so far this is not a gcc
issue, and you are asking in the wrong place.  You are having basic C++
trouble, perhaps due to a confusion of header files.  You should be
asking in a C++ or Windows help group.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux