“Selectively Disable Warnings” with clang

I saw this demo done at WWDC on how to turn off warnings, only when truly warranted, while compiling with clang: #if defined (__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored “-Wunused-value” #endif // defined __clang__ void ImAUselessLittleFunction ( int pleaseUseMe ) { pleaseUseMe; // Nope, you are not going to be used } … Read more

GoingNative 2012

Last week I was fortunate to attend the GoingNative 2012 seminar hosted at Microsoft’s Redmond campus. Bjarne Stroustrup, Herb Sutter, Andrei Alexandrescu, Stephan T. Lavavej, Chandler Carruth, Hans Boehm, and Andrew Sutton gave presentations at this seminar. If you don’t know who they are, you can easily look them up since they are all very … Read more