DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8690>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8690

src/Makefile doen't notice errors in subsidiary makefiles

           Summary: src/Makefile doen't notice errors in subsidiary
                    makefiles
           Product: Xerces-C++
           Version: 1.6.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


src/Makefile.in has a bunch of lines like
        Util::
                @echo Building "util"
                ${CD} $(UTIL_DIR) ; $(MAKE) $(MAKE_FLAGS) ; ${CD} ..
If the subsidiary make fails, this is never reported back to the parent makefile
because of the "; cd .." at the end (which succeeds).  This should
be converted to something like:
        Util::
                @echo Building "util"
                ${CD} $(UTIL_DIR) && $(MAKE) $(MAKE_FLAGS) 
or even (given that it insists on gmake anyway...) 
        Util::
                @echo Building "util"
                $(MAKE) $(MAKE_FLAGS) -C $(UTIL_DIR) 

This can result in hard-to-diagnose errors, where a single file fails to
compile, but the library gets built anyway and can't be used due to unresolved
symbols.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to