Re: [Crosswalk-dev] The c++ compiler for CrossWalk
Gary Chine garych...@sina.com writes: Hi All, I noticed that when I build crossWalk,the c++ compiler used is clang, FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD [...] You did not paste the actual error that this compiler invocation threw, so it is hard to help. [...] I find clang is too strict and don't allow convert from stat64* to stat*,and that's OK under g++.Can I change the compiler back to g++? Just pass clang=0 to gyp. But doing that means you are not building with a configuration used by upstream, which uses clang by default. And going back to GCC because you are seeing errors with clang likely means you will end up hiding the symptoms of an actual problem you have in your code. ___ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
[Crosswalk-dev] The c++ compiler for CrossWalk
Hi All, I noticed that when I build crossWalk,the c++ compiler used is clang, FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj.host/base/third_party/good_dynamics/base.gd_file_util_posix.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_WEBCL=1 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=233105-2 -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 -DMOBILE_SAFE_BROWSING -DSAFE_BROWSING_SERVICE -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DBASE_IMPLEMENTATION -DOS_ANDROID_HOST=Linux -DNDEBUG -DNO_UNWIND_TABLES -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../third_party/good/good_dynamics/android/inc -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wexit-time-destructors -Os -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -c ../../base/third_party/bts_dynamics/bts_file_util_posix.cc -o obj.host/base/third_party/bts_dynamics/base.bts_file_util_posix.o I find clang is too strict and don't allow convert from stat64* to stat*,and that's OK under g++.Can I change the compiler back to g++? Thanks,Daniel ___ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev