Jump to content
  • Advertisement
Sign in to follow this  
Friggle

VC9 Debug Build gives compiler errors

This topic is 2407 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

the VC9 Debug build (Win32) for AngelScript 2.23.0 throws heaps of compiler/preprocessor errors, e.g:

1>as_atomic.cpp
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(171) : error C2008: '$': unerwartetes Zeichen in Makrodefinition'

(the german text portion of the message translates to 'unexpected token in macro definition')

This is related e.g. to the following code line:
#define __$adt_prop(adt,prop)

The Release build seems to be fine.
Any ideas?

Many thanks and regards,
Thomas

Share this post


Link to post
Share on other sites
Advertisement
Interesting. I use MSVC9 myself and I don't have this problem.

It looks like the Microsoft SDK is using some syntax that the MSVC9 compiler doesn't recognize. I personally never saw the use of $ in a preprocessor macro. I wonder what it would mean.

Did you perhaps upgrade the Microsoft SDK recently?

A little googling on the string '#define __$adt_prop(adt,prop)' shows that others have similar problem in other projects.

It looks like it is a language extension that Microsoft uses. Did you perhaps turn off language extensions in the project settings?

Share this post


Link to post
Share on other sites
Hi,

in fact the language extensions had been disabled for the debug build. Don't know how this happened, though.

Anyway, the problem is resolved. Many thanks!

Regards,
Thomas

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!