|
Bugzilla – Full Text Bug Listing |
| Summary: | build warning for TypeId: enum constant in boolean context | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
| Component: | core | Assignee: | Peter Barnes <pdbarnes> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs |
| Priority: | P3 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
Fixed in r12902 7f77c2bc (Was introduced in r11086 65914b1e Dec 2014) |
gcc-7.1.0 complaint: ../src/network/model/node.cc: In static member function ‘static ns3::TypeId ns3::Node::GetTypeId()’: ../src/network/model/node.cc:70:48: error: enum constant in boolean context [-Werror=int-in-bool-context] TypeId::ATTR_GET || TypeId::ATTR_SET, ^~~~~~~~ cc1plus: all warnings being treated as errors