[ace-announce] DLL compilation error with /clr support

zareen zareen.ahmad at dolatcapital.com
Mon Jan 16 03:42:41 CST 2017


Hello,

     ACE VERSION: 6.2a_p10

     HOST MACHINE and OPERATING SYSTEM:Windows 7 service pack 1

     TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
     COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Visual Studio 
2010

     CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform-
     specific file, simply state which one]:

#include "ace/config-win32.h"


     CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU [if you
     use a link to a platform-specific file, simply state which one
     (unless this isn't used in this case, e.g., with Microsoft Visual
     C++)]:

     CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
     (used by MPC when you generate your own makefiles):

     LEVEL OF URGENCY (LOW, MEDIUM, or HIGH): HIGH

     AREA/CLASS/EXAMPLE AFFECTED:
[What example failed?  What module failed to compile?]
ACE project

     DOES THE PROBLEM AFFECT:
         COMPILATION?
         LINKING?
             On Unix systems, did you run make realclean first?
         EXECUTION?
         OTHER (please specify)?
[Please indicate whether ACE, your application, or both are affected.]
Building of ACE.dll

     SYNOPSIS:
[Brief description of the problem]
When I try to build ACE project using /clr support of Microsoft Visual 
Studio 2010 it fails given an error C1001.

     DESCRIPTION:
[Detailed description of problem.  Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]

It gives an error at line 88 in file atomic_op.inl.

1>d:\zareen\ace+tao-2.2a_with_latest_patches\ace_wrappers\ace\atomic_op.inl(88): 
fatal error C1001: An internal error has occurred in the compiler.
1>  (compiler file 'f:\dd\vctools\compiler\utc\src\p2\wvm\mdmiscw.c', 
line 2704)
1>   To work around this problem, try simplifying or changing the 
program near the locations listed above.
1>  Please choose the Technical Support command on the Visual C++
1>   Help menu, or open the Technical Support help file for more 
information

     REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible.  ]

     SAMPLE FIX/WORKAROUND:
[If available ]

Regards,
Zareen Ahmad


More information about the ace-announce mailing list