|
From: | Paul Eggert |
Subject: | Re: Correct but unhelpful VLA warning vs. gnulib's gettext.h; can we eliminate the false positive? |
Date: | Sun, 10 Jul 2011 17:11:17 -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/10/11 02:16, James Youngman wrote: > A function-level pragma would probably be ideal here, but > unfortunately they can only be used to tweak optimisation and function > attributes. Can you do "#pragma GCC diagnostic push" at the start of the function, and "#pragma GCC diagnostic pop" at the end? That's *supposed* to work (not that I've tried it....).
[Prev in Thread] | Current Thread | [Next in Thread] |