Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
- Subject: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
- From: Ken Hawkins <email@hidden>
- Date: Wed, 28 Apr 2004 08:21:07 -0700
when i enable this for REAL exception syntax i get additional warnings
coming up now concerning the folllowing:
SomeType var;
[foo withBar:&var]
will produce a discarding qualifier warning becuase foo normally takes
a (*) and pass a reference (&). this is normal syntax and does not
generate warnings with -fobjc-exceptions flag turned off. why is the
exception flag causing this behavior? has anyone else seen this?
ken;
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.