[ace-users] ACE BUG: C2733 compiler error of version 5.5.8 and 5.5.9.

Johnny Willemsen jwillemsen at remedy.nl
Wed Jun 27 03:03:15 CDT 2007


Hi,

Where is the error exact coming from, the Tproactor, or something else

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  

*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** See http://www.theaceorb.nl/en/support.html                 ***

<hongxing777 at gmail.com> wrote in message
news:<1182916210.107576.239920 at i38g2000prf.googlegroups.com>...
> Version: 5.5.9
> 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.9 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:\ACE_wrappers\ace\os_include\os_intrin.h(48) : error C2733: second C
> linkage of overloaded function "_InterlockedExchange"
> D:\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.9 $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 new additional option
> ACE_HAS_INTRINSIC_INTERLOCKED. I guess it causes the C2733 compile
> error since there are no such files in 5.5.7.
> 
> Note:
>     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 mailing list