Bug 2635 - error: private field 'm_useCa' is not used [-Werror,-Wunused-private-field]
error: private field 'm_useCa' is not used [-Werror,-Wunused-private-field]
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
Mac Intel Mac OS
: P3 normal
Assigned To: Biljana Bojović
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-26 12:07 UTC by John Abraham
Modified: 2017-02-02 10:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Abraham 2017-01-26 12:07:42 UTC
In file included from ../src/lte/helper/lte-helper.cc:23:
../src/lte/helper/lte-helper.h:814:8: error: private field 'm_useCa' is not used [-Werror,-Wunused-private-field]
  bool m_useCa;
       ^
../src/lte/helper/lte-helper.h:821:12: error: private field 'm_noOfCcs' is not used [-Werror,-Wunused-private-field]
  uint16_t m_noOfCcs;
           ^
2 errors generated.

Waf: Leaving directory `/Users/johnabraham/ws/ns-3-dev/build'
Build failed
 -> task in 'ns3-lte' failed (exit status 1): 
	{task 4567584016: cxx lte-helper.cc -> lte-helper.cc.1.o}
['/usr/bin/clang++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-unused-local-typedefs', '-Wno-potentially-evaluated-expression', '-std=c++11', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk', '-fPIC', '-I.', '-I..', '-I/usr/include/libxml2', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_LIBXML2=1', '../src/lte/helper/lte-helper.cc', '-c', '-o', '/Users/johnabraham/ws/ns-3-dev/build/src/lte/helper/lte-helper.cc.1.o']
Comment 1 Biljana Bojović 2017-02-02 10:52:51 UTC
Thanks John, this is finally fixed with changeset:

http://code.nsnam.org/ns-3-dev/rev/2b0e3e9eb4e4