Casal2 / CASAL2

Integrated Population Dynamics Model (Casal2)
https://casal2.github.io
GNU General Public License v2.0
27 stars 24 forks source link

Casal2 - Fails to compile on GCC/G++ v13.1.1 #420

Closed Zaita closed 4 months ago

Zaita commented 5 months ago

Describe the bug Casal2 fails to compile on newer versions of the GCC/G++/MinGW Compiler because of a virtual function hidden message.

Release version(s) and/or repository branch(es) affected? Master branch, latest commit

Operating system type and version (and build tools types and versions, if applicable) Linux - OpenSuSE - G++ v13.1.1

Steps to reproduce the bug ./doBuild.sh test

Expected behavior Compile completes

Actual behavior Compile fails

Screenshots image

Additional context Will fix it shortly

Zaita commented 5 months ago

Adding more issues here. There are some variables being used that are not initialised when created. This fails to compile as this creates a compiler warning and subsequent error.

Zaita commented 4 months ago

Fixed.