Problem with /clr switch in Whidbey

A

Alexander

Hi there,

I'm trying to compile the program with Whidbey but I got the following
problem:

------- cut here -----------
c:\h>cl h.cpp /clr
[many warnings skipped]

h.cpp(152) : error C3396:
'System.Runtime.CompilerServices.IsImplicitlyDereferenced'
: custom attribute not found in 'mscorlib.dll'

h.cpp(152) : fatal error C1903: unable to recover from previous
error(s);
stopping compilation
------- cut here -----------

If I try to target AMD64 with x86 cross compiler things go even worse
- some libraries are corruped. What's wrong?

Regards,
Alexander
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top