core icon indicating copy to clipboard operation
core copied to clipboard

gcc-7.4.0 gives errors when compiling in release mode

Open jacobmerson opened this issue 6 years ago • 0 comments

This is an example of one I ran into, but I assume there are more.

/gpfs/u/software/erp-spack-install/linux-centos7-x86_64/gcc-7.4.0/pumi-develop-rya3gf6vaxj4uiepwnwumgzjm6yossuh/include/apfVector.h:87:27: error: ‘fs.can::Array<double, 3>::elems[2]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         c[i] = (*this)[i] * s;
                ~~~~~~~~~~~^~~

jacobmerson avatar Sep 27 '19 02:09 jacobmerson