mssip.h trouble

Francois Gouget fgouget at
Tue Sep 10 03:52:34 CDT 2002

On Tue, 10 Sep 2002, Patrik Stridvall wrote:

> > While compiling the latest tree, I get this:
> >
> > [dimi at dimi wine]$ make -s
> > In file included from ../../include/mssip.h:49,
> >                  from main.c:22:
> > ../../include/pshpack8.h:47:6: warning: #warning "8 as
> > alignment is not supported"
> It seems that gcc or at least a previous versions of GCC
> didn't support it since somebody (Alexandre?) added a
> warning in pshpack8.h.

It may have been me. I think at the time it was only meant for gcc,
which was the only things you could compile Wine with anyway.
The specific version of gcc is 2.95, and but I'm really not sure the
situation has changed.

> Futhermore Micrsoft C/C++ (or at least later version of it)
> contrary to the claim of pshpack8.h support it so it
> wrong at the point at least AFAIK.

Yes, Visual C++ supports alignment 8 which is the problem (so that
defined(_MSC_VER) should have been moved elsewhere, just to avoid the
warning in fact).

How we can handle such alignment issues in Wine whn compiled with gcc
I'm not sure.

Francois Gouget         fgouget at
                  Dieu dit: "M-x Lumière". Et la lumière fut.

More information about the wine-devel mailing list