]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ifacecheck/rungccxml.sh.in
Doc and comment cleanup, fixes, tweaks
[wxWidgets.git] / utils / ifacecheck / rungccxml.sh.in
index 57a463b00809e93d9a08b3be11daec8066ec149b..d50c4189ea1d0445ad70fb887d37b7cba7690e48 100755 (executable)
@@ -74,6 +74,10 @@ fi
 # can be passed to ifacecheck to aid the comparison
 echo "Running gccxml's preprocessor on the $allheaders file... results in $preprocoutput"
 gccxml -E -dM $flags >$preprocoutput
+if [[ $? != 0 ]]; then
+    echo "Errors running gccxml preprocessor... aborting."
+    exit
+fi
 
 # cleanup
 rm $allheaders