errors compiling wine tests with msvc
James Hawkins
truiken at gmail.com
Tue Feb 15 14:48:00 CST 2005
On Tue, 15 Feb 2005 14:46:51 -0600, James Hawkins <truiken at gmail.com> wrote:
> Hi,
>
> I've been compiling the wine tests with visual studio 2003, and there
> are a couple errors popping up. One of the errors is that the align
> modifier is not allowed on function parameters, so most of the test
> fail to compile with wine's headers because we align most of our data
> types (AFAICS, I haven't looked through all of our winnt.h):
>
> (from wine/include/winnt.h)
> typedef unsigned __int64 DECLSPEC_ALIGN(8) ULONGLONG, *PULONGLONG;
>
> Whereas ms' ULONGLONG does not have the align modifier:
>
> (from ms' winnt.h)
> typedef unsigned __int64 ULONGLONG;
>
> Should we reconcile the difference and remove the align from out
> types? If not the tests won't compile with vs so I guess the other
> option would be to #pragma disable that warning. Any ideas?
>
I forgot to give the link to msdn which contains the documentation of
the particular error:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcerrCompilerErrorC2719.asp
--
James Hawkins
More information about the wine-devel
mailing list