-
the code compiles and runs under g++-9.4.0 with or without the
forward declaration but g++-14.2.0 requires the forward declaration.
Did the standard change or is g++ now being more strict in following
the standard.
Note that the actual code is more compicated but this is enough the
show the difference.
--Sidney Marshall
; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Did I do something wrong?
--Sidney Marshall
My mistake. Everything is OK:
$ ./g++ --version
g++ (GCC) 10.5.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Did I do something wrong?
--Sidney Marshall
-include=/home/sidney/gcc/obj-13.1.0-RC2-20230419/./gmp
--with-gmp-l
ib=/home/sidney/gcc/obj-13.1.0-RC2-20230419/./gmp/.libs
--Sidney Marshall
Building the last several gcc releases I get the warning:
warning: gcc/cc1obj-checksum.o differs
This seems harmless but I am curious what causes it.
--Sidney Marshall
At 11:39 AM 4/10/2021 +0100, Jonathan Wakely wrote:
On Sat, 10 Apr 2021 at 11:30, Sidney Marshall
wrote:
>
> When compiling the last few releases of GCC I get many warnings in
> format strings of the form:
>
> ../../gcc-10.3.0/gcc/analyzer/region-model.cc: In member funct
urious trailing punctuation sequence '="' in format [-Wformat-diag]
1382 | printf (pp, "
[shape=none,margin=0,style=filled,fillcolor=%s,label=\"",
| ^~~
These warnings seem spurious to me.
Are these warnings truly spurious or is there som part of the
standard I don't understand?
--Sidney Marshall
thing to compile. To check I deleted
the object directory and did a completely new make from scratch.
Everything appeared to work.
This message is designed to be helpful and is not in any way a
complaint. I really appreciate the excellent work done by the gcc people.
--Sidney Marshall
Embedded GNU C Library: Shared libraries
--Sidney Marshall