In openoffice.org_2.4_sdk\include\uno\lbnames.h
#if (! defined (CPPU_ENV) && defined (TMP_CPPU_ENV)) #define CPPU_ENV TMP_CPPU_ENV #endif #ifdef CPPU_ENV #define CPPU_STRINGIFY_EX( x ) #x #define CPPU_STRINGIFY( x ) CPPU_STRINGIFY_EX( x ) /** Name for C++ compiler/ platform, e.g. "gcc3", "msci" */ #define CPPU_CURRENT_LANGUAGE_BINDING_NAME CPPU_STRINGIFY( CPPU_ENV ) #else #error "No supported C++ compiler environment." provoking error here, because PP ignores #error #endif /* CPPU_ENV */ #undef TMP_CPPU_ENV //it should be commeted, otherwise it would cause CPPU_CURRENT_LANGUAGE_BINDING_NAME macro generate TMP_CPPU_ENV, In Visual C++ 2008, not expected as msci. Because the TMP_CPPU_ENV was undefined when reference the macro CPPU_CURRENT_LANGUAGE_BINDING_NAME. #endif /* __cplusplus */