diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-08 02:24:51 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-08 15:45:42 -0500 |
commit | 46f900c065f65013ae58a97f3b991a7e0c5ab669 (patch) | |
tree | bfa940b2425bdeb5444cec377eb84ebd15109ba4 /sim/README-HACKING | |
parent | 8fc48b79618af335d6cea1d1d149668340298b81 (diff) | |
download | gdb-46f900c065f65013ae58a97f3b991a7e0c5ab669.zip gdb-46f900c065f65013ae58a97f3b991a7e0c5ab669.tar.gz gdb-46f900c065f65013ae58a97f3b991a7e0c5ab669.tar.bz2 |
sim: require a C11 compiler
With GDB requiring a C++11 compiler now, this hopefully shouldn't
be a big deal. It's been 10 years since C11 came out, so should
be plenty of time to upgrade.
This will allow us to start cleaning up random header logic and
many of our non-standard custom types.
Diffstat (limited to 'sim/README-HACKING')
-rw-r--r-- | sim/README-HACKING | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/sim/README-HACKING b/sim/README-HACKING index 26dbde2..78e60fa 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -161,33 +161,7 @@ To add the entries to an alternative ChangeLog file, use: C Language Assumptions ====================== -The programmer may assume that the simulator is being built using an -ANSI C compiler that supports a 64 bit data type. Consequently: - - o prototypes can be used - - o If sim-types.h is included, the two - types signed64 and unsigned64 are - available. - - o The type `unsigned' is valid. - -However, the user should be aware of the following: - - o GCC's `<number>LL' is NOT acceptable. - Microsoft-C doesn't reconize it. - - o MSC's `<number>i64' is NOT acceptable. - GCC doesn't reconize it. - - o GCC's `long long' MSC's `_int64' can - NOT be used to define 64 bit integer data - types. - - o An empty array (eg int a[0]) is not valid. - -When building with GCC it is effectivly a requirement that ---enable-build-warnings=,-Werror be specified during configuration. +An ISO C11 compiler is required, as is an ISO C standard library. "dump" commands under gdb ========================= |