globals.h 638
struct flag_type
{
char * name;
int bit;
bool settable;
};
/* bit.c */
extern const struct flag_type area_flags[];
extern const struct flag_type sex_flags[];
extern const struct flag_type exit_flags[];
extern const struct flag_type door_resets[];
extern const struct flag_type room_flags[];
extern const struct flag_type sector_flags[];
extern const struct flag_type type_flags[];
extern const struct flag_type extra_flags[];
extern const struct flag_type wear_flags[];
extern const struct flag_type act_flags[];
extern const struct flag_type affect_flags[];
extern const struct flag_type detect_flags[];
extern const struct flag_type protect_flags[];
extern const struct flag_type apply_flags[];
extern const struct flag_type wear_loc_strings[];
extern const struct flag_type wear_loc_flags[];
extern const struct flag_type weapon_flags[];
extern const struct flag_type container_flags[];
extern const struct flag_type liquid_flags[];
extern const struct flag_type material_type[];
extern const struct flag_type form_flags[];
extern const struct flag_type part_flags[];
extern const struct flag_type ac_type[];
extern const struct flag_type size_flags[];
extern const struct flag_type off_flags[];
extern const struct flag_type imm_flags[];
extern const struct flag_type res_flags[];
extern const struct flag_type vuln_flags[];
extern const struct flag_type position_flags[];
extern const struct flag_type weapon_class[];
extern const struct flag_type weapon_type[];
extern const struct flag_type attack_type[];
extern const struct flag_type damage_type[];
extern const struct flag_type sector_name[];
extern const struct flag_type mprog_flags[];
extern const struct flag_type oprog_flags[];
extern const struct flag_type rprog_flags[];
extern const struct flag_type vflags_armor[];
extern const struct flag_type restrict_flags[];
#endif /* MERC_H */
It's been forever, since I was last diving into our codebase, which is Sunder.
Last time the gcc was updated I moved these lines to to before the struct.
Now, trying to boot up for the first time in 4 years, I'm running into old issues so to speak.
Where as I think there were 2 issues, my moving just band-aided the second at the time.
So here's the code.
merc.h:1867: error: array type has incomplete element type
Any help is appreciated. As I'm sure my senses will start returning after I quit drinking in general. :p