|
Bugzilla – Full Text Bug Listing |
| Summary: | error: private field 'm_useCa' is not used [-Werror,-Wunused-private-field] | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | John Abraham <john.abraham.in> |
| Component: | lte | Assignee: | Biljana Bojović <bbojovic> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs |
| Priority: | P3 | ||
| Version: | ns-3-dev | ||
| Hardware: | Mac Intel | ||
| OS: | Mac OS | ||
Thanks John, this is finally fixed with changeset: http://code.nsnam.org/ns-3-dev/rev/2b0e3e9eb4e4 |
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']