Bugzilla – Bug 923
Inconsistent declaration of class/struct in mac-low.h
Last modified: 2010-06-07 10:34:45 UTC
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 ^
(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