oracle - How to compile Pro*C file in Visual Studio 2010 -
i installed visual studio 2010 recently, , migrated project visual studio 2005 2010. after migration, can't compile pro*c files in project. use oracle 10g precomplier. error message:
syntax error @ line 48, column 9, file c:\visualstudio10\vc\include\vadefs.h: typedef _w64 unsigned int uintptr_t; pcc-s-02201, encoutered symbol "__w64" when expecting 1 of following: auto, char, const, double, enum .......... typedef name
my project complied in vs 2005 correctly. what's matter on vs 2010?
i don't know pro*c in detail, should read page ms doku:
http://msdn.microsoft.com/en-us/library/s04b5w00.aspx
since symbol __w64 32->64 portability warnings, may sufficient define symbol empty. place #define __w64
in central place or add empty symbol definition __w64
project's compiler options.
Comments
Post a Comment