This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: -Wconversion versus libstdc++


On 1/17/07, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
here it is in pseudo-code.

   int x = some value;
   // ...
   unsigned y = x  // please don't spit noise here

   int x = -1;
   // ...
   unsigned y = x;  // please don't spit noise here
   unsigned z = 1;
   if ( y < z ) ... // what about here?

-- Scott


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