Re: [vdr] vdr-2.2.0 compilation fails with gcc7

2017-03-02 Thread Klaus Schmidinger
On 02.03.2017 13:39, Martin Gansser wrote: Thanks for your patch, but then there are further error messages: g++ -O3 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/re

Re: [vdr] vdr-2.2.0 compilation fails with gcc7

2017-03-02 Thread Martin Gansser
&& '0' <= s[i] && s[i] <= '9') { do { item_nr = item_nr * 10 + (s[i] - '0'); } it compiles fine, but I am not shure if this is correct ?     Gesendet: Donnerstag, 02. März 2017 um 11:35 Uhr Von: "Klaus Schmidin

Re: [vdr] vdr-2.2.0 compilation fails with gcc7

2017-03-02 Thread Klaus Schmidinger
On 02.03.2017 11:25, Martin Gansser wrote: vdr-2.2.0 compilation fails with gcc7 on Fedora26. ... This will be fixed in version 2.3.3, where I have changed "unsigned" to "signed" in several places to avoid these problems. Attached are the respective changes, it still applies to version 2.2.0.

[vdr] vdr-2.2.0 compilation fails with gcc7

2017-03-02 Thread Martin Gansser
vdr-2.2.0 compilation fails with gcc7 on Fedora26. g++ -O3 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -Werror=overlo