[Expat-bugs] [ expat-Bugs-609603 ] v1.95.5 Win32 static lib symbol
problem
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 15 Sep 2002 09:50:47 -0700
Bugs item #609603, was opened at 2002-09-15 12:28
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=609603&group_id=10127
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: v1.95.5 Win32 static lib symbol problem
Initial Comment:
I just switched over to using the Win32 static lib
version of Expat in my MSVC++ application.
Now, it appears that the following line:
#define _STATIC
is required before
#include "expat.h"
otherwise, the link fails.
----------------------------------------------------------------------
>Comment By: Karl Waclawek (kwaclaw)
Date: 2002-09-15 12:50
Message:
Logged In: YES
user_id=290026
Either that, or you define _STATIC in the Project Settings.
Have a look at the "elements" demo project, it is
statically linked.
However, I think it is not enough to just have the demo
project, we should document this as well.
I'll assign this to Fred, since the documentation
needs to include static linking instructions for
Unix systems too.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2002-09-15 12:29
Message:
Logged In: NO
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=609603&group_id=10127