lanl / Draco

An object-oriented component library supporting radiation transport applications.
Other
55 stars 44 forks source link

Fix warnings issued by Intel OneAPI 2021.4.0 #1145

Closed KineticTheory closed 3 years ago

KineticTheory commented 3 years ago

Background

Purpose of Pull Request

Description of changes

Status

codecov[bot] commented 3 years ago

Codecov Report

Merging #1145 (a6b5716) into develop (b8e3bcd) will increase coverage by 0.0%. The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           develop   #1145   +/-   ##
=======================================
  Coverage     89.0%   89.0%           
=======================================
  Files          374     374           
  Lines        19263   19268    +5     
=======================================
+ Hits         17155   17162    +7     
+ Misses        2108    2106    -2     
certik commented 3 years ago

There is still one warning, treated as error:

[ 25%] Building CXX object src/linear/CMakeFiles/Lib_linear.dir/qrdcmp_pt.cc.o
/home/travis/Draco/src/mesh_element/Element_Definition.hh:262:3: error: use '= default' to define a trivial copy constructor [modernize-use-equals-default,-warnings-as-errors]
  Element_Definition(Element_Definition const &rhs)
  ^
2810 warnings generated.
Suppressed 2809 warnings (2809 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
1 warning treated as error
make[2]: *** [src/mesh_element/CMakeFiles/Lib_mesh_element.dir/build.make:82: src/mesh_element/CMakeFiles/Lib_mesh_element.dir/Element_Definition.cc.o] Error 1

Otherwise it looks good.

KineticTheory commented 3 years ago

Otherwise it looks good.

Should be fixed by c156e7f.