On Nov 7, 2013, at 10:06 PM, Naoki Hirata <[email protected]> wrote: > 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?
There won't be fallout from this. It's just a (somewhat useless) warning. (You could also have removed -Werror from the relevant Android.mk). -- reuben
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
