(repost)
Yang Lao wrote:
Is there a way to turn off specific compiler warnings?
In general
{$local W-} DoSomethingPotentiallyDangerous; {$endlocal}
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.
Regards,
Adriaan van Os