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]
Other format: [Raw text]

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


"eric lin" <fsshl@luxmail.com> 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@gcc.gnu.org and
gcc-help@gcc.gnu.org.  This e-mail is not appropriate for
gcc@gcc.gnu.org, 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]