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. ;)
Yang Lao wrote:In general
Is there a way to turn off specific compiler warnings?
{$local W-}
DoSomethingPotentiallyDangerous;
{$endlocal}
or on the command-line -Wno-xxx (e.g. -Wno-cast-align)but I don't know of an xxx for this particular warning.
The particular warning that gets in the way of the more helpful ones is:
warning: missing string capacity - assuming 255
Regards,
Adriaan van Os