qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stitcher <astitc...@redhat.com>
Subject Re: RFI for Proton 0.14.0: PROTON-1279, PROTON-1280, PROTON-1281
Date Thu, 11 Aug 2016 17:22:34 GMT
On Thu, 2016-08-11 at 18:11 +0100, Alan Conway wrote:
> ...
> 
> All good. For the switch unreachable code error:
> 
> > 
> > [1] https://issues.apache.org/jira/browse/PROTON-1279
> 
> You could avoid the compiler specific fix by converting to int:
> 
>     switch (int(t)) { ... default: return "unknown"; }
> 
> but I'm ok with the pragma also.
>  

There are now enough of these "turn off some warning" preprocessor
sections that I think it'll be a good idea to make something 
prettier/easier for them.

- Now to remind myself how to use __Pragma (or whatever it's called)!

Andrew




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message