Compile warning with CATCH_UNHANDLED_EXCEPTIONS defined

\modules\juce_events\messages\juce_deletedatshutdown.cpp(71): warning C4702: unreachable code

This is only with JUCE_CATCH_UNHANDLED_EXCEPTIONS defined

Rail

Hmm, interesting - I guess it managed to figure out that you have no classes derived from DeletedAtShutdown which can throw exceptions in their destructors. I guess I’ll wrap some warning-suppression around it then…

Odd… that didn’t fix the warning (I would have thought it should)

Rail

Huh… That one seemed like a no-brainer to me! Does it work if you move the pragmas around, e.g. outside the function scope?

Me too… and no… very odd… this is VS 2015

Rail

Oh wait… outside the function scope works (sorry - I’d tried outside the for loop and in juce_ApplicationBase.h)

Rail

Ah, the mysteries of the MS compiler… Thanks, I’ll update it.