I could not find an -Wno-xxx that applies to just that one warning. Wonder how involved it would it be to create one, rather than change a myriad files.

PS: Sorry for replying above the quoted text but gmail tends to muddle my responses if I reply below the quoted text (as on Thu, Jun 12, 2008 at 8:13 AM). Thereby everyone could easily ignore my response. ;)

On Mon, Dec 22, 2008 at 12:12 AM, Adriaan van Os <gpc@microbizz.nl> wrote:
Yang Lao wrote:
Is there a way to turn off specific compiler warnings?

In general

{$local W-}

or on the command-line -Wno-xxx (e.g. -Wno-cast-align)

The particular warning that gets in the way of the more helpful ones is:

 warning: missing string capacity - assuming 255

but I don't know of an xxx for this particular warning.


Adriaan van Os