_STLP_USE_MFC not working with msvc8 and msvc9
Brought to you by:
complement
\ATLMFC\INCLUDE\afx.h(24) : fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
after defining _AFXDLL this error doesn't show up but there is a new one:
\ATLMFC\INCLUDE\afx.h(15) : fatal error C1189: #error : MFC requires C++ compilation (use a .cpp suffix)
http://stlport.sourceforge.net/BugReport.shtml
OS: Windows XP and Windows Vista x64
Compiler: msvc8 and msvc9
STLPort: 5.2.0 and 5.2.1
uncomment "#define _STLP_USE_MFC 1" in user_config.h
configure msvc9
nmake clean install
build fails with:
\ATLMFC\INCLUDE\afx.h(24) : fatal error C1189: #error : Building MFC
application with /MD[d] (CRT dll version) requires MFC shared dll version.
Please #define _AFXDLL or do not use /MD[d]
after defining _AFXDLL this error doesn't show up but there is a new one:
\ATLMFC\INCLUDE\afx.h(15) : fatal error C1189: #error : MFC requires C++
compilation (use a .cpp suffix)