FYI, I accidentally upgraded my Xcode on 10.8.5 and ran into compilation errors:

host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
frameworks/base/tools/obbtool/Main.cpp:92:34: error: struct 'PackageInfo' was previously declared as a class [-Werror,-Wmismatched-tags]
void doAdd(const char* filename, struct PackageInfo* info) {

frameworks/base/tools/obbtool/Main.cpp:185:5: error: struct 'PackageInfo' was previously declared as a class [-Werror,-Wmismatched-tags]
   struct PackageInfo package_info;

I resolved the issue by changing the struct to class in both lines and it now compiles; does anyone know if there might be fall out from doing this?

Regards,
Naoki

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to