admb-project / admb

AD Model Builder
http://admb-project.org
Other
64 stars 19 forks source link

Incorrect output in admb batch file. #102

Closed johnoel closed 6 years ago

johnoel commented 6 years ago

Reported by Mark Fowler. Linker failed, but the script incorrectly outputs success.

*** Linking: dogsbm2016vc.obj

g++ -static -o dogsbm2016vc.exe dogsbm2016vc.obj "c:\admb\build\dist\lib\libadmb-contrib.a"

c:/gnu/GCC492-win64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file dogsbm2016vc.exe: Invalid argument

collect2.exe: error: ld returned 1 exit status

Successfully built 'dogsbm2016vc.exe'.