fixed: osx106 warnings

This commit is contained in:
Nick Bolton 2014-02-26 15:53:28 +00:00
parent 228befdc2c
commit 8d6a44d1b7
12 changed files with 97 additions and 55 deletions

View file

@ -161,9 +161,6 @@ COSXScreenSaver::launchTerminationCallback(
return (CallNextEventHandler(nextHandler, theEvent));
}
#if GNUC_46
# pragma GCC diagnostic push
#endif
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
void
@ -199,6 +196,4 @@ testProcessName(const char* name, const ProcessSerialNumber& psn)
return (err == 0 && CFEqual(CFSTR("ScreenSaverEngine"), processName));
}
#if GNUC_46
# pragma GCC diagnostic pop
#endif
#pragma GCC diagnostic error "-Wdeprecated-declarations"