diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | loc2c.h | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2005-12-21 Frank Ch. Eigler <fche@elastic.org> + + * loc2c.h: Add __attribute__ defeating code for g++ 3.3 compatibility. + 2005-12-20 Josh Stone <joshua.i.stone@intel.com> * vim/filetype.vim: defines *.stp files as SystemTap scripts @@ -3,6 +3,10 @@ struct obstack; /* Use <obstack.h> */ struct location; /* Opaque */ +/* G++ 3.3 doesn't seem to like the __attribute__ constructs below. */ +#if (__GNUG__ == 3) && (__GNUC_MINOR__ == 3) +#define __attribute__(x) /* nothing */ +#endif /* Translate a C fragment for the location expression, using *INPUT as the starting location, begin from scratch if *INPUT is null. |