[ expat-Bugs-221127 ] Unable to build 1.95.1 "Win32 Release" under DevStudio

noreply@sourceforge.net noreply@sourceforge.net
Wed, 25 Jul 2001 13:20:20 -0700


Bugs item #221127, was opened at 2000-11-02 09:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=221127&group_id=10127

Category: Build control
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Rob Schafer (rschafer)
>Assigned to: Fred L. Drake, Jr. (fdrake)
>Summary: Unable to build 1.95.1 "Win32 Release" under DevStudio

Initial Comment:
Downloaded/extracted expat-1.95.1.tar.gz. I opened the DevStudio workspace and set the active configuration to "expat - Win32 Release". I encountered many compiler errors (too many to list here.)

To fix, I made the following mods to the Win32 Release project settings (to bring them in sync with the Debug settings):

- "C/C++:Precompiled Headers"
  Set to "Not using precompiled headers"

- Under settings for xmlparse.c, escaped quotes in the VERSION #define (VERSION=\expat_1.95.1\).

- Excluded xmltok_impl.c and xmltok_ns.c from the build (under "General:Exclude File From Build").


----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-25 13:20

Message:
Logged In: YES 
user_id=3066

New MSVC project and workspace files will be provided in the upcoming 1.95.2 release which fix these problems.

The application of XMLPARSEAPI in expat.h has been rationalized as well.

Thanks!

----------------------------------------------------------------------

Comment By: Kevin Gilpin (kgilpin)
Date: 2001-06-11 15:49

Message:
Logged In: YES 
user_id=44882

I had the same problems, applied the same fixes. Now life 
is good.

----------------------------------------------------------------------

Comment By: Kevin Gilpin (kgilpin)
Date: 2001-06-10 03:12

Message:
Logged In: YES 
user_id=44882

One more thing : I had to modify expat.h to be :

void XMLPARSEAPI XML_DefaultCurrent(XML_Parser parser);

Had to add the XMLPARSEAPI so that the function would be 
exported


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-05-10 10:55

Message:
Logged In: NO 

I owe you a lunch for explaining this

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2000-12-18 21:35

Message:
Clark -- do you keep a Windows development system available?  Can you handle this?  I don't have an authenticated CVS set up under Windows.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=221127&group_id=10127