Closed iantaylor-NOAA closed 2 years ago
I think anything related to compiler warnings should wait until after we switch to ADMB 13, which probably will cause more changes in compiler warnings.
Good point. Happy to just ignore that test.
Warnings are much reduced with ADMB 13.0 as noted in https://github.com/nmfs-stock-synthesis/stock-synthesis/issues/257#issuecomment-1242476430 and the test is passing. The warnings test could be further improved as suggested in https://github.com/nmfs-stock-synthesis/stock-synthesis/issues/452 but this issue can now be closed.
Refactor request
Recent runs of this test in github actions: https://github.com/nmfs-stock-synthesis/stock-synthesis/actions/workflows/call-build-ss3-warnings.yml have been failing due to the additional warning pasted below.
I don't know whether this warning is something that we should work to make go away or just update the tally of how many warnings are expected when compiling with warnings.
The lines in question are in the following code at the top of ss.cpp:
Expected behavior
Current tally is 68 warnings. I think this adds 2 more.