C_ASSERT portability fixes and simplification [PATCH 1/2]

Gerald Pfeifer gerald at pfeifer.com
Mon May 11 06:16:14 CDT 2009

On Mon, 11 May 2009, Alexandre Julliard wrote:
>>  2. More importantly, these were the only occurences of C_ASSERT at
>>     file level.  By moving these at function level use thereof becomes
>>     consistent which will allow the fix from PATCH 2/2 to work at all.
> C_ASSERT is supposed to work at the file level too.

The current implementation doesn't work with GCC 4.5 (or ISO C)
and I failed to find any other way. :-(  

Your point on this being autogenerated clearly is strong one --
either we need to change that generation or find a different way
to implement C_ASSERT.

Any idea how to best approach this?


More information about the wine-devel mailing list