I've fixed this problem by renaming apr_base.c to apr_base.cpp so that it
will be compiled as C++. The build break happened because apr_base.c (a C
file) was given a C++ dependency. I didn't want to compile all files on
Windows as C++ because that might break the C bindings, and this break
occured on unix platforms as well.
Mark
Mark Whitlock
IBM

----- Forwarded by Mark Whitlock/UK/IBM on 18/05/2005 14:44 -----
                                                                           
             "Samisa                                                       
             Abeysinghe"                                                   
             <[EMAIL PROTECTED]                                          To 
             usa.com>                  "Apache AXIS C Developers List"     
                                       <[email protected]>          
             18/05/2005 12:03                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         RE: Today CVS Build failing         
              "Apache AXIS C                                               
             Developers List"                                              
                                                                           
                                                                           
                                                                           
                                                                           




Anybody else got this problem?





If yes we could commit the changes to build init XML file to CVS.





If not, what are we doing wrong here?





Thanks,


Samisaâ





      -----Original Message-----
      From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
      Sent: Wednesday, May 18, 2005 11:53 AM
      To: Apache AXIS C Developers List
      Subject: RE: Today CVS Build failing





      Using â/TPâ option (compile all files as .cpp) with cl seem to solve
      the problem. Include in buildInitialize.xml VC++ compiler options.





      Samisaâ





            -----Original Message-----
            From: Chinthana C. Dinapala [mailto:[EMAIL PROTECTED]
            Sent: Wednesday, May 18, 2005 10:17 AM
            To: Apache AXIS C Developers List
            Subject: Today CVS Build failing





            Hi guys,





            Today build failing due to following error.





                   [cc] Generating Code...


                   [cc] Compiling...


                   [cc] apr_base64.c


                   [cc] C:\Program Files\Microsoft Visual
            Studio\VC98\include\eh.h(32) : fat


            al error C1189: #error :  "eh.h is only for C++!"


                   [cc] Generating Code...


                   [cc] Compiling...


                   [cc] IAnySimpleType.cpp


                   [cc] Stub.cpp


                   [cc] IConstrainingFacet.cpp


                   [cc] WSDDDocument.cpp


                   [cc] DateTime.cpp


                   [cc] HandlerChain.cpp


                   [cc] Namespace.cpp


                   [cc] MaxInclusive.cpp


                   [cc] Generating Code...





            BUILD FAILED


            C:\axiscpp\ws-axis\c\build.xml:234: The following error
            occurred while executing


             this line:


            C:\axiscpp\ws-axis\c\build.xml:222: The following error
            occurred while executing


             this line:


            C:\axiscpp\ws-axis\c\build.xml:93: The following error occurred
            while executing


            this line:


            C:\axiscpp\ws-axis\c\build\buildClient.xml:23: cl failed with
            return code 2





            Chinthana Dinapala





            (Embedded image moved to file: pic06886.gif)


            Creating competitive advantage


<<attachment: pic06886.gif>>

Reply via email to