[cfe-commits] [PATCH][MS][Review request] - Microsoft Attributes parsing support

Sebastian Redl sebastian.redl at getdesigned.at
Sat Oct 9 11:46:26 PDT 2010


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.

Sebastian



More information about the cfe-commits mailing list