{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1720","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1720/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1720/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1720/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1720","id":88042370,"number":1720,"title":"Debug build fails on Android while compiling csscolorparser.cpp","user":{"login":"mb12","id":8890269,"avatar_url":"https://avatars.githubusercontent.com/u/8890269?v=3","gravatar_id":"","url":"https://api.github.com/users/mb12","html_url":"https://github.com/mb12","followers_url":"https://api.github.com/users/mb12/followers","following_url":"https://api.github.com/users/mb12/following{/other_user}","gists_url":"https://api.github.com/users/mb12/gists{/gist_id}","starred_url":"https://api.github.com/users/mb12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mb12/subscriptions","organizations_url":"https://api.github.com/users/mb12/orgs","repos_url":"https://api.github.com/users/mb12/repos","events_url":"https://api.github.com/users/mb12/events{/privacy}","received_events_url":"https://api.github.com/users/mb12/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/build","name":"build","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/6","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/Android%20b1","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/6/labels","id":982241,"number":6,"title":"Android b1","description":"","creator":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":78,"state":"open","created_at":"2015-02-17T02:38:50Z","updated_at":"2015-08-14T04:03:36Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-13T18:08:38Z","updated_at":"2015-08-14T04:03:36Z","closed_at":"2015-08-14T04:03:36Z","body":"I am building like this:\r\n\r\nBUILDTYPE=debug make android V=1 \r\n\r\nI've copy pasted the log below.\r\n\r\nDefault release build works fine.\r\n\r\n```\r\nusers-MacBook-Pro:mapbox-gl-native mb12$ BUILDTYPE=debug make android V=1 2>&1 | tee make.log.debug\r\ndeps/run_gyp android/mapboxgl-app.gyp -Dhost=android -Iconfig/android-arm-v7.gypi -Dheadless_lib=none -Dplatform_lib=android -Dasset_lib=zip -Dhttp_lib=curl -Dcache_lib=sqlite --depth=. -Goutput_dir=. --generator-output=./build/android-arm-v7 -f make-android\r\n  /Users/mb12/Documents/MAPBOX_GL_JUNE2_2015/mapbox-gl-native/mason_packages/osx-10.10/android-ndk/arm-9-r10e/bin/arm-linux-androideabi-clang++      -MMD -MF ./debug/.deps/debug/obj.target/core/src/csscolorparser/csscolorparser.o.d.raw -target armv7-none-linux-androideabi -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -D_LITTLE_ENDIAN -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-integrated-as -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -Wno-invalid-command-line-argument -Wno-unused-command-line-argument  -c -o debug/obj.target/core/src/csscolorparser/csscolorparser.o ../../src/csscolorparser/csscolorparser.cpp\r\nIn file included from ../../src/csscolorparser/csscolorparser.cpp:25:\r\n../../src/csscolorparser/csscolorparser.hpp:36:21: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]\r\n    unsigned char r = 0, g = 0, b = 0;\r\n                    ^\r\n../../src/csscolorparser/csscolorparser.hpp:36:28: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]\r\n    unsigned char r = 0, g = 0, b = 0;\r\n                           ^\r\n../../src/csscolorparser/csscolorparser.hpp:36:35: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]\r\n    unsigned char r = 0, g = 0, b = 0;\r\n                                  ^\r\n../../src/csscolorparser/csscolorparser.hpp:37:13: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]\r\n    float a = 1.0f;\r\n            ^\r\n../../src/csscolorparser/csscolorparser.cpp:38:22: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"transparent\", { 0, 0, 0, 0 } }, { \"aliceblue\", { 240, 248, 255, 1 } },\r\n                     ^~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:38:55: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"transparent\", { 0, 0, 0, 0 } }, { \"aliceblue\", { 240, 248, 255, 1 } },\r\n                                                      ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:39:23: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"antiquewhite\", { 250, 235, 215, 1 } }, { \"aqua\", { 0, 255, 255, 1 } },\r\n                      ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:39:57: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"antiquewhite\", { 250, 235, 215, 1 } }, { \"aqua\", { 0, 255, 255, 1 } },\r\n                                                        ^~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:40:21: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"aquamarine\", { 127, 255, 212, 1 } }, { \"azure\", { 240, 255, 255, 1 } },\r\n                    ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:40:56: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"aquamarine\", { 127, 255, 212, 1 } }, { \"azure\", { 240, 255, 255, 1 } },\r\n                                                       ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:41:16: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"beige\", { 245, 245, 220, 1 } }, { \"bisque\", { 255, 228, 196, 1 } },\r\n               ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:41:52: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"beige\", { 245, 245, 220, 1 } }, { \"bisque\", { 255, 228, 196, 1 } },\r\n                                                   ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:42:16: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"black\", { 0, 0, 0, 1 } }, { \"blanchedalmond\", { 255, 235, 205, 1 } },\r\n               ^~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:42:54: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"black\", { 0, 0, 0, 1 } }, { \"blanchedalmond\", { 255, 235, 205, 1 } },\r\n                                                     ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:43:15: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"blue\", { 0, 0, 255, 1 } }, { \"blueviolet\", { 138, 43, 226, 1 } },\r\n              ^~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:43:51: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"blue\", { 0, 0, 255, 1 } }, { \"blueviolet\", { 138, 43, 226, 1 } },\r\n                                                  ^~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:44:16: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"brown\", { 165, 42, 42, 1 } }, { \"burlywood\", { 222, 184, 135, 1 } },\r\n               ^~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:44:53: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"brown\", { 165, 42, 42, 1 } }, { \"burlywood\", { 222, 184, 135, 1 } },\r\n                                                    ^~~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:45:20: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"cadetblue\", { 95, 158, 160, 1 } }, { \"chartreuse\", { 127, 255, 0, 1 } },\r\n                   ^~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:45:59: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"cadetblue\", { 95, 158, 160, 1 } }, { \"chartreuse\", { 127, 255, 0, 1 } },\r\n                                                          ^~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:46:20: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"chocolate\", { 210, 105, 30, 1 } }, { \"coral\", { 255, 127, 80, 1 } },\r\n                   ^~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:46:54: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"chocolate\", { 210, 105, 30, 1 } }, { \"coral\", { 255, 127, 80, 1 } },\r\n                                                     ^~~~~~~~~~~~~~~~~~~\r\n../../src/csscolorparser/csscolorparser.cpp:47:25: error: non-aggregate type 'const CSSColorParser::Color' cannot be initialized with an initializer list\r\n    { \"cornflowerblue\", { 100, 149, 237, 1 } }, { \"cornsilk\", { 255, 248, 220, 1 } },\r\n                        ^~~~~~~~~~~~~~~~~~~~\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n4 warnings and 20 errors generated.\r\nmake[1]: *** [debug/obj.target/core/src/csscolorparser/csscolorparser.o] Error 1\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/make -C build/android-arm-v7 BUILDTYPE=debug androidapp\r\nmake: *** [android-lib-arm-v7] Error 2\r\n\r\n\r\n```"}}