Drop custom DEPRECATED macro

We now have this macro generated in Export.hh
This commit is contained in:
Dmitry Marakasov 2016-05-19 17:16:04 +03:00
parent 20bdc36577
commit 736e7d5877
2 changed files with 0 additions and 12 deletions

View File

@ -105,11 +105,6 @@ CHECK_COMPILE(
"#include <experimental/optional>\nint main() { std::experimental::optional<int> o; return !o; }"
"experimental/optional header"
)
CHECK_COMPILE(
SDL2PP_WITH_DEPRECATED
"[[deprecated]]\nstatic void f() {} int main() { return 0; }"
"[[deprecated]] attribute"
)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SDL2PP_WARNINGS}")

View File

@ -32,12 +32,5 @@
#cmakedefine SDL2PP_WITH_TTF
#cmakedefine SDL2PP_WITH_MIXER
#cmakedefine SDL2PP_WITH_EXPERIMENTAL_OPTIONAL
#cmakedefine SDL2PP_WITH_DEPRECATED
#if defined(SDL2PP_WITH_DEPRECATED)
# define SDL2PP_DEPRECATED [[deprecated]]
#else
# define SDL2PP_DEPRECATED
#endif
#endif