supress specific warning in qcc

how can I supress a specific warning in qcc? I see the -w and -w[0-9],
but now way to supress a specific error, like unused variable.

pass the gcc specific command though, eg -Wno-shadow

see the gcc docs for a complete list…

Cheers,

Colin

Joseph Witherspoon wrote:

how can I supress a specific warning in qcc? I see the -w and -w[0-9],
but now way to supress a specific error, like unused variable.
\


cburgess@qnx.com

thanks, CCFLAGS+=-Wno-unused worked.

Colin Burgess wrote:

pass the gcc specific command though, eg -Wno-shadow

see the gcc docs for a complete list…

Cheers,

Colin

Joseph Witherspoon wrote:
how can I supress a specific warning in qcc? I see the -w and -w[0-9],
but now way to supress a specific error, like unused variable.



\

cburgess@qnx.com