wip
This commit is contained in:
parent
e5550688fa
commit
99b90125d7
@ -17,8 +17,7 @@ add_nodejs_module(node_osrm node_osrm.cpp)
|
||||
set_target_properties(node_osrm PROPERTIES CXX_STANDARD 14)
|
||||
# TODO: we disable clang-tidy for this target, because it causes errors in third-party NodeJs related headers
|
||||
set_target_properties(node_osrm PROPERTIES CXX_CLANG_TIDY "")
|
||||
# TODO: we turn off "warnings as errors" for this target, because it causes errors in third-party NodeJs related headers
|
||||
# target_no_warning(node_osrm error)
|
||||
# TODO: we turn off some warnings for this target, because it causes errors in third-party NodeJs related headers
|
||||
target_no_warning(node_osrm suggest-destructor-override)
|
||||
target_no_warning(node_osrm suggest-override)
|
||||
|
||||
|
||||
@ -7,13 +7,13 @@
|
||||
// This is needed because libstdc++ itself uses this API - its not
|
||||
// just an issue of your code using it, ughhh
|
||||
|
||||
// // Note: only necessary on Linux
|
||||
// #ifdef __linux__
|
||||
// #define _ENABLE_GLIBC_WORKAROUND
|
||||
// #warning building with workaround
|
||||
// #else
|
||||
// #warning not building with workaround
|
||||
// #endif
|
||||
// Note: only necessary on Linux
|
||||
#ifdef __linux__
|
||||
#define _ENABLE_GLIBC_WORKAROUND
|
||||
#warning building with workaround
|
||||
#else
|
||||
#warning not building with workaround
|
||||
#endif
|
||||
|
||||
#ifdef _ENABLE_GLIBC_WORKAROUND
|
||||
namespace std
|
||||
|
||||
Loading…
Reference in New Issue
Block a user