Branch: Tag:

2015-04-01

2015-04-01 12:21:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Support compilation with compilers other than gcc again.

Replaced all uses of __attribute__((unused)) with PIKE_ATTRIBUTE_UNUSED.

649:      PMOD_EXPORT void dump_program_tables (const struct program *p, int indent);   #ifdef PIKE_DEBUG - static INLINE int __attribute__((unused)) CHECK_IDREF_RANGE (int x, const struct program *p) + static INLINE int PIKE_UNUSED_ATTRIBUTE CHECK_IDREF_RANGE (int x, const struct program *p)   {    if (x < 0 || x >= p->num_identifier_references) {    dump_program_tables(p, 4);
1076:   void make_program_executable(struct program *p);   /* Prototypes end here */    - static INLINE int __attribute__((unused)) FIND_LFUN(struct program * p, int lfun) { + static INLINE int PIKE_UNUSED_ATTRIBUTE FIND_LFUN(struct program * p, int lfun) {   #ifdef PIKE_DEBUG    dmalloc_touch(struct program*, p);    if (lfun < 0) return find_lfun_fatal(p, lfun);