X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e1903816a062dc126a609ed5ef5d02f43fe3ca7..74cc3ec18e117a6ea6bc1c23a9b70ff960f4c0ae:/utils/ifacecheck/rungccxml.sh.in diff --git a/utils/ifacecheck/rungccxml.sh.in b/utils/ifacecheck/rungccxml.sh.in index 57a463b008..d50c4189ea 100755 --- a/utils/ifacecheck/rungccxml.sh.in +++ b/utils/ifacecheck/rungccxml.sh.in @@ -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