diff options
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 4a9668f..4e26aad 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2009-03-30 Dominique d'Humieres <dominiq@lps.ens.fr> + + PR bootstrap/39583 + * objc-act.c (in_late_binary_op): Define for Objective-C++. + 2009-03-29 Joseph Myers <joseph@codesourcery.com> PR c/456 diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index df3a719..81d63b2 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -79,6 +79,11 @@ along with GCC; see the file COPYING3. If not see static unsigned int should_call_super_dealloc = 0; +/* When building Objective-C++, we need in_late_binary_op. */ +#ifdef OBJCPLUS +bool in_late_binary_op = false; +#endif /* OBJCPLUS */ + /* When building Objective-C++, we are not linking against the C front-end and so need to replicate the C tree-construction functions in some way. */ #ifdef OBJCPLUS |