[RFC][objc] Get rid of aliasing warning for @selector()
Ziemowit Laski
zlaski@apple.com
Wed Jun 23 05:58:00 GMT 2004
On 22 Jun, 2004, at 17.55, Alexander Malmberg wrote:
> + expr = build_c_cast (ptr_type_node, expr);
> return build_c_cast (objc_selector_type, expr);
How about simply saying
return convert (objc_selector_type, expr);
instead of the last two lines? Would that work?
--Zem
--------------------------------------------------------------
Ziemowit Laski 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group Cupertino, CA USA 95014-2083
Apple Computer, Inc. +1.408.974.6229 Fax .5477
More information about the Gcc-patches
mailing list