minor noises made by gcc and -std=iso9899:1999 with -Wall -pedantic -Wextra -pedantic-errors
vincent at vinc17.net
Wed Jul 3 09:03:53 UTC 2019
On 2019-07-01 23:05:55 +0200, Torbjorn Granlund wrote:
> Vincent Lefevre <vincent at vinc17.net> writes:
> There is nothing in the GMP manual that tells the user not to use
> -pedantic-errors (an option that should not break portable programs).
> Indeed. We do not re-document all compilers and their options'
> suitability for GMP.
You don't need. You should just stop lying by telling that GMP is
portable. It is not. With a strict ISO C compiler (which GCC is
*not* by default, unless -pedantic-errors or similar is used),
GMP will not compile successfully or trigger undefined behavior.
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the gmp-discuss