bug-gnulib
[Top][All Lists]
Advanced

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

Re: Warning in spawn-pipe.c (create_pipe)


From: Tim Rühsen
Subject: Re: Warning in spawn-pipe.c (create_pipe)
Date: Fri, 15 Dec 2017 13:20:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 12/15/2017 12:54 PM, Gisle Vanem wrote:
> Tim Rühsen wrote:
> 
>> Attached is a quick commit with a new lib/pragmas.h. Sorry, I currently
>> don't have time for anything more (e.g. a module).
> 
> These are nice. MSVC also has the '__pragma()' keyword
> documented here:
>   https://msdn.microsoft.com/en-us/library/d9x1s805.aspx
> 
> But that would need a full set of 'NOWARN_xx(a)'
> for all warnings needed. E.g.
>  __pragma(warning(disable: 4101)) for 'unreferenced local variable'
> 

We would need MSVC variants of NOWARN and NOWARN_PUSH, e.g.
NOWARN_MSVC(4705 4706) or NOWARN_PUSH_MSVC(4705 4706).

Maybe you could add a tested version ?

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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