understood! Many thanks for your help Mit freundlichen Grüßen / Best regards Homam Alkhateeb KOPF GmbH / Kapbachstr. 6 / 76829 Landau / Germany Tel.: +49 6341 91767-36 / Email: homam.alkhateeb@xxxxxxxxxx Geschäftsführer: Oliver Kopf - HRB Landau Nr. 3090 - Amtsgericht Landau -----Ursprüngliche Nachricht----- Von: Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx> Gesendet: Freitag, 8. März 2024 15:11 An: Homam Alkhateeb <Homam.Alkhateeb@xxxxxxxxxx> Cc: gcc-help@xxxxxxxxxxx Betreff: Re: Gnu compiler version 4.7.0, dialect -std=c99 with -fshort-enums vs. GHS with --short_enum On Fri, Mar 08, 2024 at 07:36:17AM +0000, Homam Alkhateeb wrote: > Is there a way to do this without changing the code? No. Your system ABI requires what underlying type to use for an enum. There would be terrible problems if a compiler could just choose to use different types willy-nilly! Segher