[cfe-commits] [PATCH][MS][Review request] - Microsoft Attributes parsing support
sebastian.redl at getdesigned.at
Mon Oct 11 00:49:07 PDT 2010
On 09.10.2010 20:46, Sebastian Redl wrote:
> On 09.10.2010, at 10:56, Francois Pichet wrote:
>> On Sat, Oct 9, 2010 at 4:39 AM, Sebastian Redl
>> <sebastian.redl at getdesigned.at> wrote:
>>> What happens if someone enables Microsoft extensions in Objective-C mode? Those attributes could be easily confused with a message send.
>> I am not very familiar with Objective C but who wants to enable
>> Microsoft extensions in Objective C mode?
>> To port a Windows game to iPhone? Is it something we want to support?
> IIRC, we want to enable MS extensions by default on Win32. So when someone wants to compile ObjC under Windows (it could happen - maybe someone wants to try to port Cocoa to Windows), he would get MS+ObjC.
> It's something to keep in mind, at least. If we decide that there's no way to disambiguate this case, we would have to emit an error when MS exts are enabled in ObjC.
By the way, this is just something we have to think about. I don't think
it's a pressing issue we have to resolve now. The patch itself looks
good to me. Go ahead and commit.
More information about the cfe-commits