From: Homam Alkhateeb <Homam.Alkhateeb@kopfweb.de>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Cc: Segher Boessenkool <segher@kernel.crashing.org>
Subject: AW: Gnu compiler version 4.7.0, dialect -std=c99 with -fshort-enums vs. GHS with --short_enum
Date: Fri, 8 Mar 2024 14:24:53 +0000 [thread overview]
Message-ID: <69813ac5aca54987873d12d28f9ee712@kopfweb.de> (raw)
In-Reply-To: <20240308141125.GT19790@gate.crashing.org>
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@kopfweb.de
Geschäftsführer: Oliver Kopf - HRB Landau Nr. 3090 - Amtsgericht Landau
-----Ursprüngliche Nachricht-----
Von: Segher Boessenkool <segher@kernel.crashing.org>
Gesendet: Freitag, 8. März 2024 15:11
An: Homam Alkhateeb <Homam.Alkhateeb@kopfweb.de>
Cc: gcc-help@gcc.gnu.org
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
prev parent reply other threads:[~2024-03-08 14:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 14:11 Homam Alkhateeb
2024-03-07 14:20 ` Jonathan Wakely
2024-03-08 7:36 ` AW: " Homam Alkhateeb
2024-03-08 14:11 ` Segher Boessenkool
2024-03-08 14:24 ` Homam Alkhateeb [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69813ac5aca54987873d12d28f9ee712@kopfweb.de \
--to=homam.alkhateeb@kopfweb.de \
--cc=gcc-help@gcc.gnu.org \
--cc=segher@kernel.crashing.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).