[cfe-dev] Option to disable POD check for variadic functions

Tomasz Dabrowski dabroz at gmail.com
Sat May 21 11:58:05 PDT 2011


On 21 May 2011 18:34, Douglas Gregor <dgregor at apple.com> wrote:
>> Possibility to ignore POD check would be very helpful.
>
>
> Actually, the ability to disable the check is already in Clang, and the clue is right there in the diagnostic text: the [-Wnon-pod-varargs] at the end of the error tells you which warning flag controls this warning. So, pass -Wno-error=non-pod-varargs to downgrade it to a warning, or -Wno-non-pod-varargs to turn off the warning/error completely.

Yes, but this only hides error/warning, doesn't make actual vararg
call work. I'll check trunk version, thanks for update.

--
Tomasz DÄ…browski




More information about the cfe-dev mailing list