Skip to content

Commit

Permalink
comment-only: added PR number #5477
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdowle committed Oct 9, 2022
1 parent c886977 commit 248f40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dev/cc.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ cc = function(test=FALSE, clean=FALSE, debug=FALSE, omp=!debug, cc_dir, path=Sys
ret = system(sprintf("MAKEFLAGS='-j CC=%s PKG_CFLAGS=-f%sopenmp CFLAGS=-std=c99\\ -O0\\ -ggdb\\ -pedantic' R CMD SHLIB -d -o datatable.so *.c", CC, OMP))
} else {
ret = system(sprintf("MAKEFLAGS='-j CC=%s CFLAGS=-f%sopenmp\\ -std=c99\\ -O3\\ -pipe\\ -Wall\\ -pedantic\\ -Wstrict-prototypes\\ -isystem\\ /usr/share/R/include\\ -fno-common' R CMD SHLIB -o data_table.so *.c", CC, OMP))
# the -isystem suppresses strict-prototypes warnings from R's headers. Look at the output to see what -I is and pass the same path to -isystem.
# the -isystem suppresses strict-prototypes warnings from R's headers, #5477. Look at the output to see what -I is and pass the same path to -isystem.
# TODO add -Wextra too?
}
if (ret) return()
Expand Down

0 comments on commit 248f40e

Please sign in to comment.