molpopgen / fwdpp

fwdpp is a C++ template library for implementing efficient forward-time population genetic simulations
http://fwdpp.readthedocs.io
GNU General Public License v3.0
27 stars 11 forks source link

Compiler warnings #244

Open molpopgen opened 4 years ago

molpopgen commented 4 years ago

There are currently lots of warnings due to implicit conversions. These need to be checked and fixed. A lot of the solution will be to use auto liberally!

These flags will be key:

./configure --enable-debug=yes CPPFLAGS='-Wall -W -Weffc++ -Wconversion'
molpopgen commented 3 years ago

On GCC, we need -Wsign-conversion, too.

molpopgen commented 3 years ago

On GCC, we need -Wsign-conversion, too.

Will punt on this, as it imposes a ridiculous constraint on array indexing.