From 86d1e1192e81e9eb684d647238fff7a67ec45fcb Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Mon, 12 Jan 2009 13:24:24 -0330 Subject: Squashed commit of the following: commit b73098371dca786520d9eab2731d1887a60685b1 Author: Matthew Newhook Date: Mon Jan 12 13:22:59 2009 -0330 http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=3518 slice2XXX --depend exit status is bogus --- cpp/src/slice2cpp/Main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src/slice2cpp/Main.cpp') diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp index 1cd6604766f..0f053917b0b 100644 --- a/cpp/src/slice2cpp/Main.cpp +++ b/cpp/src/slice2cpp/Main.cpp @@ -169,7 +169,10 @@ main(int argc, char* argv[]) if(depend) { Preprocessor icecpp(argv[0], *i, cppArgs); - icecpp.printMakefileDependencies(Preprocessor::CPlusPlus, includePaths); + if(!icecpp.printMakefileDependencies(Preprocessor::CPlusPlus, includePaths)) + { + return EXIT_FAILURE; + } } else { -- cgit v1.2.3