This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ObjC/ObjC++: Fix property encoding on Apple
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: gcc-patches at gcc dot gnu dot org
- Cc: howarth at bromo dot med dot uc dot edu, nicola dot pero at meta-innovation dot com
- Date: Wed, 02 Mar 2011 21:44:48 +0100
- Subject: Re: ObjC/ObjC++: Fix property encoding on Apple
Nicola,
Your patch in http://gcc.gnu.org/ml/gcc-patches/2011-03/txt00002.txt
regtested fine with -m32 and -m64 provided you apply the following change:
--- property-encoding-1.mm 2011-03-02 21:03:55.000000000 +0100
+++ /opt/gcc/work/gcc/testsuite/obj-c++.dg/property/property-encoding-1.mm 2011-03-02 21:36:23.000000000 +0100
@@ -108,7 +108,7 @@ int main(int argc, char **args)
error (p);
p = class_getProperty (c, "long_property");
- if (strcmp ("Tl,Vlong_property", property_getAttributes (p)) != 0)
+ if (strcmp ("Tq,Vlong_property", property_getAttributes (p)) != 0)
error (p);
p = class_getProperty (c, "float_property");
It would probably be better to use the same "machinery" than in
gcc/testsuite/objc.dg/property/property-encoding-1.m, but doing it is
beyond my ability.
Cheers,
Dominique