Re: GSoC-2011: Implement Missing Mesh Functions in Wine’s D3DX9

max max at
Wed Aug 3 08:05:48 CDT 2011

On 08/03/2011 05:18 AM, Stefan Dösinger wrote:
> On Wednesday 03 August 2011 10:56:25 Michael Mc Donnell wrote:
>> It is *technically* undefined, but all the compilers I have tested it
>> on do the same thing.
> There may be a future compiler that behaves differently. You may get away with
> it right now, but it will cause pain in the rear sooner or later.
> (I didn't know bitfield layout is undefined, otherwise I wouldn't have advised
> you to keep using them)
Technically they are 'implementation defined', not 'undefined', which 
means each compiler
has to define them but different compilers may define them differently. 
Because different
compilers DO define them differently, they are not portable. Since they 
are not portable,
wine should not use them without cloaking them in macros that compensate 
for the
differences.  Which is a PITA. Has anybody done the cloaks already?


More information about the wine-devel mailing list