Mercurial > projects > ldc
comparison gen/main.cpp @ 1586:7f728c52e63c
Fix several 'reaches end of function' warnings by making fatal noreturn.
The warnings also pointed out a few genuine bugs. Replace some tabs with
spaces.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Fri, 06 Nov 2009 21:51:41 +0100 |
parents | 4551475bc6b6 |
children | def7a1d494fd |
comparison
equal
deleted
inserted
replaced
1585:29b0f2d11c92 | 1586:7f728c52e63c |
---|---|
958 error("no object files to link"); | 958 error("no object files to link"); |
959 } | 959 } |
960 else | 960 else |
961 { | 961 { |
962 if (global.params.link) | 962 if (global.params.link) |
963 //status = runLINK(); | 963 status = linkObjToExecutable(global.params.argv0); |
964 linkObjToExecutable(global.params.argv0); | |
965 | 964 |
966 if (global.params.run) | 965 if (global.params.run) |
967 { | 966 { |
968 if (!status) | 967 if (!status) |
969 { | 968 { |