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-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org