Bugzilla – Bug 2635
error: private field 'm_useCa' is not used [-Werror,-Wunused-private-field]
Last modified: 2017-02-02 10:52:51 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']
Thanks John, this is finally fixed with changeset: http://code.nsnam.org/ns-3-dev/rev/2b0e3e9eb4e4