|
From: | Paul Eggert |
Subject: | Re: Correct but unhelpful VLA warning vs. gnulib's gettext.h; can we eliminate the false positive? |
Date: | Sat, 09 Jul 2011 21:47:58 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 |
On 07/09/11 15:32, James Youngman wrote: > Is there a way of eliminating this false positive which doesn't force > me to give up -Wvla? You can use a pragma in the module that you've audited. The pragma would tell GCC, "don't waste my time warning about VLAs in this module".
[Prev in Thread] | Current Thread | [Next in Thread] |