Compiler flags not passed down to external modules?

Hi all,

My cdash submission here has some -Wmissing-braces warnings:

https://open.cdash.org/viewBuildError.php?type=1&buildid=6624748

But that’s odd because I pass -Wno-missing-braces:

https://open.cdash.org/viewNotes.php?buildid=6624748

I notice the warnings are only from files in external modules (Modules/Remote/Cuberille). Have I configured something wrong here or is there a bug where flags are not getting passed down?

Thanks,

Sean

Hi Sean,

The remote modules should be configured in the same way as other modules, so your experience is surprising.

On a side note, reviewing the dashboard configuration, one item that popped out was the specification of the flags in multiple locations:

set(ENV{CXXFLAGS} "${RR_WARNINGS_CXX} ${RR_FLAGS_CXX}")
set(dashboard_cache "
CMAKE_C_FLAGS:STRING=
CMAKE_CXX_FLAGS:STRING=-std=c++14 -stdlib=libc++

and simplification may help.

Thanks,
Matt