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 解决...
gym/model/container.h:27, from ../src/opengym/model/opengym_interface.cc:29: /usr/local/include/google/protobuf/message_lite.h:408:7: note: declared here int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } ^~~~ cc1plus: all warnings being treated as errors I'm...
.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 使用以...