[ace-users] C2733 error when using ACE-5.5.8 + TProactor to
build realse version app, but 5.5.7 is OK. Maybe a bug
jwillemsen at remedy.nl
Fri Jun 22 12:49:23 CDT 2007
Please use the original PRF in the future.
I think this is solved in the upcoming x.5.9 version
2650 AC Berkel en Rodenrijs
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
<hongxing777 at gmail.com> wrote in message
news:<1182424516.315329.272880 at z28g2000prd.googlegroups.com>...
> Version: 5.5.8
> host: windows xp sp2, suse linux enterprise server 9 sp2
> compiler: vs.net 2003, gcc 3.3.3
> I integrated TProactor into ACE-5.5.8 and build my app based on it. My
> app runs stable in debug version. But when I switched to release
> version, the compiler reports the following error:
> D:\hongxing\component\ACE_wrappers\ace\os_include\os_intrin.h(48) :
> error C2733: second C linkage of overloaded function
> "_InterlockedExchange" D:\hongxing\component\ACE_wrappers\ace
> \os_include\os_intrin.h(49) : error C2733: second C linkage of
> overloaded function "_InterlockedExchangeAdd"
> when I switched back to ACE-5.5.7, everything is ok.
> I found in the ACE-5.5.8 $ACE_ROOT\ace\os_include dir, there are two
> additional files os_byteswap.h and os_intrin.h (compared to
> ACE-5.5.7). And there is a additional option
> ACE_HAS_INTRINSIC_INTERLOCKED. I guess it causes the C2733 compile
> error since there are no such files in 5.5.7.
> when I compile ACE-5.5.8, I didn't define
> ACE_HAS_INTRINSIC_INTERLOCKED in the config.h file.
> I use Windows XP + Visual Studio 2003
> anybody can help ? thanks!
More information about the Ace-users