[xml] xml and STL with MSVC
- From: Timothee Besset <timo qeradiant com>
- To: xml gnome org
- Cc: pngl zerodeux net
- Subject: [xml] xml and STL with MSVC
- Date: Mon, 20 Aug 2001 22:43:59 +0200
I came across a small issue that occurs when using both STL and XML. If there's an #include <list> statement
before #include <libxml/parser.h> and STL is configured not to use the std:: namespace, then the declaration
of the following functions is problematic:
- xmlParseBalancedChunkMemory
- xmlParseExternalEntity
- xmlParseCtxtExternalEntity
because they use "list" as variable identifier. it seems that gcc is not affected, it can tell the difference
between a variable name and a type .. but MSVC bails out.
TTimo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]