Skip to content

Commit 768c7b1

Browse files
committed
more warnings work
1 parent 7a11e07 commit 768c7b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/build.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ inlineCxxPlugin <- function() {
2828
}
2929

3030
tbbCxxFlags <- function() {
31+
flags <- "-Wno-long-long"
3132
if (Sys.info()['sysname'] == "Windows")
32-
"-DRCPP_PARALLEL_USE_TBB=1"
33-
else
34-
""
33+
flags <- paste(flags, "-DRCPP_PARALLEL_USE_TBB=1")
34+
flags
3535
}
3636

3737
# Return the linker flags requried for TBB on this platform

src/tbb/build/linux.clang.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ PIC_KEY = -fPIC
2626
WARNING_AS_ERROR_KEY = -Werror
2727
WARNING_KEY = -Wall
2828
TEST_WARNING_KEY = -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor
29-
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor -Wno-dangling-else -Wno-c++11-long-long
29+
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor -Wno-dangling-else -Wno-long-long
3030
DYLIB_KEY = -shared
3131
EXPORT_KEY = -Wl,--version-script,
3232
LIBDL = -ldl

0 commit comments

Comments
 (0)