Skip to content

Commit

Permalink
Avoid warnings for clang39
Browse files Browse the repository at this point in the history
  • Loading branch information
peremato committed Oct 21, 2016
1 parent b47c3fb commit 1bdeae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion math/matrix/src/TVectorT.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ TVectorT<Element>::TVectorT(Int_t lwb,Int_t upb,Element iv1, ...)
Allocate(upb-lwb+1,lwb);

va_list args;
va_start(args,va_(iv1)); // Init 'args' to the beginning of
va_start(args,iv1); // Init 'args' to the beginning of
// the variable length list of args

(*this)(lwb) = iv1;
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ if(ROOT_vc_FOUND)
ROOT_ADD_CXX_FLAG(vc_flags -Wno-unused-parameter)
ROOT_ADD_CXX_FLAG(vc_flags -Wno-missing-braces)
ROOT_ADD_CXX_FLAG(vc_flags -Wno-conditional-uninitialized)
ROOT_ADD_CXX_FLAG(vc_flags -Wno-mismatched-tags)
ROOT_ADD_CXX_FLAG(vc_flags -Wno-undefined-var-template)
set_source_files_properties(testVc.cxx PROPERTIES COMPILE_FLAGS "${vc_flags}")
ROOT_EXECUTABLE(testVc testVc.cxx LIBRARIES ${Vc_LIBRARIES})
ROOT_ADD_TEST(test-Vc COMMAND testVc FAILREGEX "FAILED|Error in")
Expand Down

0 comments on commit 1bdeae3

Please sign in to comment.