|
From: | Christoph Berg |
Subject: | Re: Anyone else compiling with GCC 10.2 on Debian Testing? |
Date: | Fri, 22 Jan 2021 14:41:36 +0100 |
Re: Nate Bargmann > ../../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 > > I'm going to be puzzling that one out for a bit. As it says, use array indexing: "+++"[3 - slow] Christoph
[Prev in Thread] | Current Thread | [Next in Thread] |