In my cc wrapper script I switch them off -Wnowarn. Not really nice, but otherwise one would miss the tree (of error) in the forrest (or warnings), as this compiler is extremely picky and verbose. When not porting, but writing code myself, I want everything to compile with all warnings enabled and without warnings showing up though.
-----Original Message----- From: Bruno Haible [mailto:[email protected]] Sent: Sunday, October 03, 2010 4:47 AM To: Schmitz, Joachim Cc: [email protected] Subject: Re: integer types on HP NonStop Joachim Schmitz wrote: > That sample code compiles with a gazillon warnings "implicit conversion from > "int" to "unsigned char": rounding, sign extension, or loss of accuracy may > result" These warnings can be ignored. > it's output attached... Thanks. All is fine now. No need to worry about shifts or lack of 'long long' any more. Bruno
