compiler_flags: Default compiler flags used by devtools.
Description
These default flags enforce good coding practice by
ensuring that PKG_CFLAGS and PKG_CXXFLAGS are
set to -Wall -pedantic. These tests are run by
cran and are generally considered to be good practice.
Usage
compiler_flags(debug = FALSE)
Arguments
debug
If TRUE adds -g -O0 to all
flags (Adding PKG_FFLAGS and PKG_FCFLAGS
Details
By default compile_dll is run with
compiler_flags(TRUE), and check with
compiler_flags(FALSE). If you want to avoid the
possible performance penalty from the debug flags,
install the package.