aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/configure.ac
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-11-03 20:31:11 +0100
committerUlrich Sibiller <uli42@gmx.de>2020-11-03 20:52:50 +0100
commit2c66355c229bd10ad9f0c34e9ea31ed50c715955 (patch)
treef914f851c8eac26c4b04c1a65498525237043f75 /nxcomp/configure.ac
parent5bd72aec3c45664712c4c88875777e955bb53da3 (diff)
downloadnx-libs-2c66355c229bd10ad9f0c34e9ea31ed50c715955.tar.gz
nx-libs-2c66355c229bd10ad9f0c34e9ea31ed50c715955.tar.bz2
nx-libs-2c66355c229bd10ad9f0c34e9ea31ed50c715955.zip
Channel.h: rename variable to prevent shadowing
In file included from Proxy.h:39:0, from ServerProxy.h:32, from ServerProxy.cpp:36: Channel.h: In member function 'int Channel::handleEncodeIdentity(EncodeBuffer&, ChannelCache*, MessageStore*, const unsigned char*, unsigned int, int)': Channel.h:369:3: warning: declaration of 'bigEndian' shadows a member of 'this' [-Wshadow] { ^ Channel.h: In member function 'int Channel::handleDecodeIdentity(DecodeBuffer&, ChannelCache*, MessageStore*, unsigned char*&, unsigned int&, int, WriteBuffer*)': Channel.h:378:3: warning: declaration of 'bigEndian' shadows a member of 'this' [-Wshadow] { ^ RHEL7's g++ 4.8.5 reports this while Debian's g++ 10.2.0-15 does not. This is described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 and fixed in gcc 5.0. Rename the variables anyway to be on the safe side. Fixes ArcticaProject/nx-libs#956
Diffstat (limited to 'nxcomp/configure.ac')
0 files changed, 0 insertions, 0 deletions