Skip to content
Snippets Groups Projects
Commit 1ac54842 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Remove deprecation supressions

parent 95c8f764
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,7 @@ if (DARWIN)
add_definitions(-DLL_DARWIN=1 -DGL_SILENCE_DEPRECATION)
set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}")
set(DARWIN_extra_cstar_flags "-gdwarf-2 -Wno-unused-local-typedef -Wno-deprecated-declarations")
set(DARWIN_extra_cstar_flags "-gdwarf-2 -Wno-unused-local-typedef")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DARWIN_extra_cstar_flags}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${DARWIN_extra_cstar_flags}")
# NOTE: it's critical that the optimization flag is put in front.
......
......@@ -118,14 +118,6 @@ if (DARWIN)
llopenglview-objc.h
llappdelegate-objc.h
)
# We use a bunch of deprecated system APIs.
set_source_files_properties(
llkeyboardmacosx.cpp
llwindowmacosx.cpp
PROPERTIES
COMPILE_FLAGS "-Wno-deprecated-declarations -fpascal-strings"
)
endif (DARWIN)
......
......@@ -54,19 +54,12 @@
#endif
#if LL_GTK
#if LL_GNUC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
extern "C" {
// mostly for Linux, possible on others
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
}
#if LL_GNUC
#pragma GCC diagnostic pop
#endif // LL_GNUC
#endif // LL_GTK
class LLFilePicker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment