|
Bugzilla – Full Text Bug Listing |
| Summary: | Inconsistent declaration of class/struct Object in object.h | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Quincy Tse <quincy.tse> |
| Component: | core | Assignee: | Mathieu Lacage <mathieu.lacage> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | CC: | ns-bugs |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Proposed patch | ||
Created attachment 884 [details]
Proposed patch
applied: changeset a1e00acc5986 |
Mismatched declaration fails static analysis (clang). No real problem functionally. In file included from ../src/core/object.cc:22: ../src/core/object.h:232:10: error: class 'ObjectDeleter' was previously declared as a struct [-Wmismatched-tags] friend class ObjectDeleter; ^~~~~ struct ../src/core/object.h:42:8: note: previous use is here struct ObjectDeleter ^ 1 error generated.