cURL / Mailing Lists / curl-library / Single Mail


Re: MIPSPro "remarks"

From: Tor Arntsen <>
Date: Fri, 20 Feb 2004 16:54:03 +0100

On Feb 20, 16:32, Tor Arntsen wrote:
>On Feb 20, 16:27, Daniel Stenberg wrote:
>>The IRIX MIPSPro compiler outputs very annoying "remarks" about obvious things
>>such as "controlling expression is constant".
>>Since the compiler is also showing lines labelled as 'warnings', would it make
>>sense if I prevented the remarks from getting counted as warnings? They are
>>often rather silly, but sometimes possibly indicating a problem.
>I could probably turn them off one by one, e.g. there's a particular option
>for turning off all 'controlling expression is constant' remarks.

As an example, see the difference between

<> (29 warnings)
<> (17 warnings)

The former is compiled with CFLAGS="-fullwarn", the latter with
CFLAGS="-fullwarn -woff 1209" (the syntax is -woff number[,number,..])

I could do something similar for Intel icc warnings, e.g.
CFLAGS="-Wall -wd279" would turn off those same 'controlling expression is
constant' remarks (wish that those compiler vendors could agree on the same
number. I thought there was a standard there!)

Received on 2004-02-20