Linker errors aren't treated as errors.
Posted: Thu Oct 29, 2009 4:42 pm
Hi Eran,
there is serious problem dealing with linker errors in the CL (and it exists here for a long time....). You surely know that linker errors aren't treated as compiler errors. It means that they aren't highlighted in the Output panel (which is a minor bug) and they don't increase total number of build errors (it is serious and confusing, because build summary tells the user that there are no errors which obviously isn't true). This confusing behaviour can lead to situation when user tries to run application which is seemingly built, but it isn't. Even more dangerous is this situation on Windows, where closing of application's terminal/launcher doesn't imply closing of the application itself. In this case the application remains loaded and active in the memory and next build will fail because of disabled write permissions on this runnig application. So, the solution of this bug should be as follows (in my opinion:)
1) Treat the linker errors in a proper way
2) Force closing of runing application if its launcher terminal window is closed manualy by a user also on Windows.
Best regards
Michal
there is serious problem dealing with linker errors in the CL (and it exists here for a long time....). You surely know that linker errors aren't treated as compiler errors. It means that they aren't highlighted in the Output panel (which is a minor bug) and they don't increase total number of build errors (it is serious and confusing, because build summary tells the user that there are no errors which obviously isn't true). This confusing behaviour can lead to situation when user tries to run application which is seemingly built, but it isn't. Even more dangerous is this situation on Windows, where closing of application's terminal/launcher doesn't imply closing of the application itself. In this case the application remains loaded and active in the memory and next build will fail because of disabled write permissions on this runnig application. So, the solution of this bug should be as follows (in my opinion:)
1) Treat the linker errors in a proper way
2) Force closing of runing application if its launcher terminal window is closed manualy by a user also on Windows.
Best regards
Michal