bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation warning in error.c


From: Paul Eggert
Subject: Re: compilation warning in error.c
Date: Thu, 06 Nov 2014 00:08:30 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Werner LEMBERG wrote:
This is better, thanks.  However, I'm not happy to globally disable
the warning.  Isn't it possible to use GCC function attributes to
suppress the warning locally, exactly at the right spot – or rather
telling GCC that there is nothing to warn about?

Could be, yes.

Alternatively, I suggest using the `push' and `pop' functionality of
#pragma.

I'm not sure I'd want to clutter up the code with even more #directives mixed in with the actual code; it's hard enough to read as it is. The problem is pretty small and hardly seems worth all this hassle.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]