On Fri, 2018-07-20 at 10:43 -0500, Gustavo A. R. Silva wrote: > Hi Joe, > > I like the idea. I'll take a look at the cases you mention and see > if I can make them work with your version of swap. > > BTW, I wonder if it would be more convenient to trigger a build warning > instead of an error. > > What do you think? I can't think of a way to have a #pragma (or _Pragma equivalent) emit a warning on a condition.