Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-05-17 03:57:22

Patches item #1489352, was opened at 2006-05-16 09:20
Message generated for change (Comment added) made by vividos
You can respond by visiting:

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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Fink (vividos)
Assigned to: Peter Dimov (pdimov)
Summary: evc4 port: Interlocked*-functions without volatile

Initial Comment:
This patch fixes the definition of the
Interlocked*-functions when using Windows CE
(_WIN32_WCE is defined). The functions use the "old"
(VC6 without platform SDK) forms of the functions
without the volatile keyword. The patch can be applied
to both CVS HEAD and the 1_34 branch, since the file
wasn't modified since then.


>Comment By: Michael Fink (vividos)
Date: 2006-05-17 09:57

Logged In: YES

I added a new version of the patch that avoids WINAPI
(replaced by __cdecl, as used by the BOOST_MSVC part of the
file. Including <windows.h> is not needed here, I think. In
evc4 there are no intrinsics for the Interlocked-functions
and the pragmas produce errors telling so. The _WIN32_WCE
part of the file provides the BOOST_INTERLOCKED_ macros in
its own section now.


Comment By: Peter Dimov (pdimov)
Date: 2006-05-16 12:42

Logged In: YES

The patch doesn't look correct to me. Using WINAPI would
require inclusion of <windows.h>; in this case just defining
BOOST_USE_WINDOWS_H would be a better approach.

It also patches the intrinsic section without also declaring
the functions as intrinsics; is this intended? Does evc4
have intrinsic support for these functions? If it doesn't,
we need to disallow the intrinsic path for _WIN32_WCE and
patch the WIN32 section instead.


Comment By: Michael Fink (vividos)
Date: 2006-05-16 09:40

Logged In: YES

Changed summary: it's only evc4 of course, since evc3 is too
non-standard to support boost.


You can respond by visiting:

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
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at