This content has been marked as final. Show 1 reply
I'm not sure how much help my post will be, but perhaps it will have some value for you.
There's an unpublished bug on this issue (Bug 10017848 - PRO*C PRECOMPILER CANNOT HANDLE _W64 IN TYPEDEF) but it has not been resolved as of this writing.
If you are not familiar with the purpose of "__w64" (which has been deprecated) you can see the following in the MS documentation:
[url http://msdn.microsoft.com/en-US/library/s04b5w00(v=vs.100).aspx]Visual Studio 2010 __w64 description
Now, one thing that you may be able to use in your situation is to simply make "__w64" an "empty define" at the top of your source file(s) like so:
Of course the above assumes that WIN32 has been defined - if it has not, you will need to use another symbol, make adjustments, etc.
#ifdef WIN32 #define __w64 #endif #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sqlca.h> #include <sqlda.h> #include <sqlcpr.h> ... rest of code ...
As an example:
If you have a large amount of files that can be tedious of course but it may be a potential workaround for you.
proc define=(_WSTDIO_DEFINED,WIN32) code=ansi_c parse=full common_parser=yes atest.pc