[Boost-bugs] [ boost-Bugs-1489362 ] USES_CONVERSION is used in once.cpp

Bugs item #1489362, was opened at 2006-05-16 09:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1489362&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: threads Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael Fink (vividos) Assigned to: Mike Glassford (glassfordm) Summary: USES_CONVERSION is used in once.cpp Initial Comment: The file libs/thread/src/once.cpp uses the ATL macros USES_CONVERSION and A2CW when the macro BOOST_NO_ANSI_APIS is defined (it's the case when compiling for Windows CE). This leads to compiler errors, since the needed header <atlconv.h> is not included anywhere. One possible fix would be to put the following in the file: #ifdef BOOST_NO_ANSI_APIS #include <atlbase.h> #include <atlconv.h> // for USES_CONVERSION and A2CW #endif (atlconv.h needs atlbase.h) Another possible fix would be to change the way to convert the string used in the call to CreateMutexW(). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1489362&group_id=7586 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net