[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: msvcp60: Remove superfluous semicolons
From: Jacek Caban <jacek () codeweavers ! com>
Date: 2012-11-27 10:53:18
Message-ID: 50B49B9E.4090601 () codeweavers ! com
[Download RAW message or body]
On 11/26/12 22:35, Andrew Talbot wrote:
> Jacek Caban wrote:
>
>> It's probably better to change the macro to require the semicolon.
>>
>> Jacek
> The reason I did it that way was because there are two variants of the
> DEFINE_CXX_DATA macro, surrounded by an #ifndef construct: one comprising
> three struct declarations, all ending in semicolons, the other comprised
> three struct declarations (ending in semicolons) and one function definition
> (ending in a curly brace). I suppose I could move the function above the
> structs, but that would require forward declarations.
Ah, sorry, missed the function there. Both solution seem equally fine then.
Jacek
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic