This is the mail archive of the gcc-patches@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: PR c++/35602 Bogus warning with -Wsign-conversion


"Manuel LÃpez-IbÃÃez" <lopezibanez@gmail.com> writes:

> 2008/8/20 Ian Lance Taylor <iant@google.com>:
>>
>>> +namespace std
>>> +{
>>> +  struct string
>>> +  {
>>> +    ~string();
>>> +    string();
>>> +  };
>>> +}
>>
>> Omit the namespace if you don't need it.  It might be better to use a
>> class name other than string.
>
> The error is only produced when using std::string, so I need both.

That seems odd.  Why is that?

Ian


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