Bugzilla – Full Text Bug Listing |
Summary: | Inconsistent declaration of class/struct in mac-low.h | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Quincy Tse <quincy.tse> |
Component: | wifi | Assignee: | Nicola Baldo <nicola> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | ns-bugs |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Proposed patch. |
(In reply to comment #0) > Inconsistent declaration of the following as class/struct triggering static > analysis warnings. No actual functional deficiencies. > I agree with this change. Please push to ns-3-dev if you have commit privileges, or let me know otherwise and I'll do it. Nicola changeset 6341:375d70f07323 |
Created attachment 891 [details] Proposed patch. Created an attachment (id=889) Proposed patch. Inconsistent declaration of the following as class/struct triggering static analysis warnings. No actual functional deficiencies. ../src/devices/wifi/mac-low.cc:1404:3: error: struct 'SnrTag' was previously declared as a class [-Wmismatched-tags] struct SnrTag tag; ^~~~~~ class ../src/devices/wifi/mac-low.cc:45:7: note: previous use is here class SnrTag : public Tag ^ ../src/devices/wifi/mac-low.cc:1483:3: error: struct 'SnrTag' was previously declared as a class [-Wmismatched-tags] struct SnrTag tag; ^~~~~~ class ../src/devices/wifi/mac-low.cc:45:7: note: previous use is here class SnrTag : public Tag ^