Hello,
The file was generated whit out the /Wp64 option.
/*******************************************************************/
The Compilation options:
/Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "IX_XVT" /D "ID_DEBUG" /D
"IDOS_WIN32" /D "IF_CTREE" /D "ID_ARCH2T" /FD /EHsc /MLd /Zp1
/Fo"D:\dev\idv\obj\debug\ctree/" /Fd"D:\dev\idv\obj\debug\ctree/"
/FR"D:\dev\idv\obj\debug\ctree/" /W4 /nologo /c /ZI /TC
/*******************************************************************/
Source in XVT_TYPE.H:
typedef long *LONG_PTR;
typedef unsigned long *ULONG_PTR;
Error:
d:\dev\Xvtdsc45\w32_x86\include\XVT_TYPE.H(54) : error C2040:
'LONG_PTR' : les niveaux d'indirection de 'long *' et de '__w64 long'
sont différents
d:\dev\Xvtdsc45\w32_x86\include\XVT_TYPE.H(55) : error C2040:
'ULONG_PTR' : les niveaux d'indirection de 'unsigned long *' et de
'__w64 unsigned long' sont différents
/*******************************************************************/
Source in WinSCard.h:
#ifndef _LPCBYTE_DEFINED
#define _LPCBYTE_DEFINED
typedef const BYTE *LPCBYTE;
#endif
Source in SQLFRONT.H:
typedef const LPBYTE LPCBYTE ;
Error:
D:\dev\MSSQLSDK\DBLIB\INCLUDE\SQLFRONT.H(312) : error C2373: 'LPCBYTE' :
redéfinition ; modificateurs de type différents
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\WinSCard.h(43) : voir la déclaration de
'LPCBYTE'
/*******************************************************************/
Tanks,
Clément
David Lowndes a écrit :
[quoted text, click to view] >>I have already tried to disable this option,
>>but it doesn't work. It works only for the warning.
>
>
> Clément,
>
> Give an example of an error (and the associated code) that persists
> when you don't have the /Wp64 setting. I'd recommend that you re-build
> your entire project after changing this setting - just to be sure!
>
> Dave
> --
> MVP VC++ FAQ:
http://www.mvps.org/vcfaq --
Clément Goux
clement@b2web.fr <mailto:clement@b2web.fr>