Bug 1026535 reenabled clang's -Wmismatched-tags warning about mixing forward declarations using class and struct. libstagefright already suppresses these C4099 warnings for MSVC, where (unlikely clang and gcc, AFAIK) class and struct can have different ABIs. > media/libstagefright/frameworks/av/include/media/stagefright/DataSource.h:28:1 [-Wmismatched-tags] class 'String8' was previously declared as a struct > media/libstagefright/frameworks/av/include/media/stagefright/DataSource.h:30:1 [-Wmismatched-tags] 'DataSource' defined as a class here but previously declared as a struct > media/libstagefright/frameworks/av/include/media/stagefright/MediaSource.h:32:1 [-Wmismatched-tags] 'MediaSource' defined as a struct here but previously declared as a class > media/libstagefright/frameworks/av/include/media/stagefright/Utils.h:44:1 [-Wmismatched-tags] struct 'MetaData' was previously declared as a class > media/libstagefright/frameworks/av/media/libstagefright/include/SampleIterator.h:24:1 [-Wmismatched-tags] struct 'SampleTable' was previously declared as a class > media/libstagefright/system/core/include/utils/String8.h:41:1 [-Wmismatched-tags] 'String8' defined as a class here but previously declared as a struct
Attachment #8447804 - Flags: review?(cajbir.bugzilla)
Attachment #8447804 - Flags: review?(cajbir.bugzilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.