[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Anyone else compiling with GCC 10.2 on Debian Testing?
From: |
Nate Bargmann |
Subject: |
Re: Anyone else compiling with GCC 10.2 on Debian Testing? |
Date: |
Fri, 22 Jan 2021 05:00:35 -0600 |
Thanks for the cleanup with GCC 10.2 everyone!
I just tried the compile with clang 11.0 on Debian Testing and these are
the only two warnings I see:
CC cqww_simulator.o
../../tlf/src/cqww_simulator.c:153:15: warning: adding 'int' to a string does
not append to the string [-Wstring-plus-int]
"---" + 3 - slow,
~~~~~~^~~
../../tlf/src/cqww_simulator.c:153:15: note: use array indexing to silence this
warning
"---" + 3 - slow,
^
& [ ]
../../tlf/src/cqww_simulator.c:155:15: warning: adding 'int' to a string does
not append to the string [-Wstring-plus-int]
"+++" + 3 - slow);
~~~~~~^~~
../../tlf/src/cqww_simulator.c:155:15: note: use array indexing to silence this
warning
"+++" + 3 - slow);
^
& [ ]
2 warnings generated.
These lines are part of this call:
char *str = g_strdup_printf("%s%s%s",
"---" + 3 - slow,
CALLMASTERARRAY(callnumber),
"+++" + 3 - slow);
which is creating a cwdaemon keyer string.
I'm going to be puzzling that one out for a bit.
73, Nate
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
signature.asc
Description: PGP signature
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, (continued)
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Nate Bargmann, 2021/01/17
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Nate Bargmann, 2021/01/17
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Zoltan Csahok, 2021/01/17
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Nate Bargmann, 2021/01/17
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Thomas Beierlein, 2021/01/17
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Thomas Beierlein, 2021/01/17
- Message not available
- Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Csahok Zoltan, 2021/01/17
Re: Anyone else compiling with GCC 10.2 on Debian Testing?,
Nate Bargmann <=
Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Zoltan Csahok, 2021/01/22
Re: Anyone else compiling with GCC 10.2 on Debian Testing?, Nate Bargmann, 2021/01/22
Re: Anyone else compiling with GCC 10.2 on Debian Testing?, ha5cqz, 2021/01/17