mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-22 02:47:48 +02:00
fixed: osx106 warnings
This commit is contained in:
parent
228befdc2c
commit
8d6a44d1b7
12 changed files with 97 additions and 55 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue