URL: <http://gna.org/bugs/?22998>
Summary: Inconsistant values for max enum size Project: Freeciv Submitted by: i1abnrk Submitted on: Fri 28 Nov 2014 02:57:33 PM UTC Category: general Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: There is a value in fc_types.h called MAX_ENUM_LEN which is 64, there is another value in specenum_gen.py called max_enum_values which is 125. It seems like potential for a specenum to cause a segmentation fault when the SPECENUM_COUNT is larger than MAX_ENUM_LEN. Either these values should be consistent or some internal doc why they differ. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22998> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev