{"action":"created","issue":{"url":"https://api.github.com/repos/bugsnag/bugsnag-unity/issues/23","repository_url":"https://api.github.com/repos/bugsnag/bugsnag-unity","labels_url":"https://api.github.com/repos/bugsnag/bugsnag-unity/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/bugsnag/bugsnag-unity/issues/23/comments","events_url":"https://api.github.com/repos/bugsnag/bugsnag-unity/issues/23/events","html_url":"https://github.com/bugsnag/bugsnag-unity/issues/23","id":160089551,"number":23,"title":"3.0.0 bugsnag-unity plugin iOS compile error when using C++98","user":{"login":"Salada","id":1726798,"avatar_url":"https://avatars.githubusercontent.com/u/1726798?v=3","gravatar_id":"","url":"https://api.github.com/users/Salada","html_url":"https://github.com/Salada","followers_url":"https://api.github.com/users/Salada/followers","following_url":"https://api.github.com/users/Salada/following{/other_user}","gists_url":"https://api.github.com/users/Salada/gists{/gist_id}","starred_url":"https://api.github.com/users/Salada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salada/subscriptions","organizations_url":"https://api.github.com/users/Salada/orgs","repos_url":"https://api.github.com/users/Salada/repos","events_url":"https://api.github.com/users/Salada/events{/privacy}","received_events_url":"https://api.github.com/users/Salada/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bugsnag/bugsnag-unity/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-14T03:22:42Z","updated_at":"2016-06-20T01:31:12Z","closed_at":null,"body":"I got this message during xcode compile.\r\n\r\n```\r\nCompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/NSString+Demangle.o /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/NSString+Demangle.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler\r\n    cd /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa\r\n    export LANG=en_US.US-ASCII\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/xxxx/work/android-sdk/platform-tools:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -stdlib=libc++ -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -miphoneos-version-min=6.0 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -iquote /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/inhouse-generated-files.hmap -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/inhouse-own-target-headers.hmap -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/inhouse-all-target-headers.hmap -iquote /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/inhouse-project-headers.hmap -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/ios/build/Unity-iPhone.build/include -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/Classes -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/Classes/Native -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/Libraries/bdwgc/include -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/Libraries/libil2cpp/include -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/../../../../Libs/ScaleForm/Src -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/../../../../Libs/ScaleForm/Integrations/Unity/Src -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/../../../../Libs/ScaleForm/Include -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/../../../../Libs/ProudNet/include -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/DerivedSources/armv7 -I/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/ios/build/Unity-iPhone.build -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/FacebookSDKStrings.bundle -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Resources -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Toy -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/FacebookSDKStrings.bundle/Resources -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Resources/TapjoyResources.bundle -F/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/Frameworks/Plugins/iOS -mno-thumb -DINIT_SCRIPTING_BACKEND=1 -include /var/folders/rf/c5c8pbbx1572rxyy_f99mrg40000gn/C/com.apple.DeveloperTools/7.3.1-7D1014/Xcode/SharedPrecompiledHeaders/Prefix-agwqmmdhjojnoccuuhsuvhmgsxiw/Prefix.pch -MMD -MT dependencies -MF /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/NSString+Demangle.d --serialize-diagnostics /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/NSString+Demangle.dia -c /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/NSString+Demangle.mm -o /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/build/il2cpp/XxxxClient.ipa/build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/NSString+Demangle.o\r\nIn file included from /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/NSString+Demangle.mm:29:\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:154:17: error: union member 'TextPayload' has a non-trivial copy constructor\r\n    std::string TextPayload;\r\n                ^\r\nIn file included from /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/NSString+Demangle.mm:29:\r\nIn file included from /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:17:\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:1333:5: note: because type 'std::__1::basic_string<char>' has a user-provided copy constructor\r\n    basic_string(const basic_string& __str);\r\n    ^\r\nIn file included from /Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/NSString+Demangle.mm:29:\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:167:11: error: use of undeclared identifier 'TextPayload'\r\n    new (&TextPayload) std::string(std::move(t));\r\n          ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:171:5: error: use of undeclared identifier 'IndexPayload'\r\n    IndexPayload = index;\r\n    ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:186:12: error: use of undeclared identifier 'TextPayload'\r\n    return TextPayload;\r\n           ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:192:12: error: use of undeclared identifier 'IndexPayload'\r\n    return IndexPayload;\r\n           ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:362:28: error: no matching constructor for initialization of 'swift::Demangle::Node'\r\n    return NodePointer(new Node(K, std::move(Text)));\r\n                           ^    ~~~~~~~~~~~~~~~~~~\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:165:3: note: candidate constructor not viable: no known conversion from 'std::__1::basic_string<char>' to 'std::string &&' (aka 'basic_string<char, char_traits<char>, allocator<char> > &&') for 2nd argument\r\n  Node(Kind k, std::string &&t)\r\n  ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:169:3: note: candidate constructor not viable: no known conversion from 'std::__1::basic_string<char>' to 'IndexType' (aka 'unsigned long long') for 2nd argument\r\n  Node(Kind k, IndexType index)\r\n  ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:162:3: note: candidate constructor not viable: requires single argument 'k', but 2 arguments were provided\r\n  Node(Kind k)\r\n  ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:173:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided\r\n  Node(const Node &) = delete;\r\n  ^\r\n/Users/Xxxx/UnityJenkinsNode/workspace/Xxxx/alpha/IOS/XxxxGITDev/NClient/Assets/Plugins/iOS/Demangle.h:405:35: error: rvalue reference to type 'basic_string<[3 * ...]>' cannot bind to lvalue of type 'basic_string<[3 * ...]>'\r\n  std::string &&str() && { return std::move(Stream); }\r\n                                  ^~~~~~~~~~~~~~~~~\r\n7 errors generated.\r\n\r\n** BUILD FAILED **\r\n```\r\n\r\ni share my xcode compile setting\r\n\r\n```\r\nDEBUG_INFORMATION_FORMAT = dwarf-with-dsym\r\nGCC_ENABLE_CPP_EXCEPTIONS = YES\r\nGCC_ENABLE_CPP_RTTI = YES\r\nGCC_ENABLE_OBJC_EXCEPTIONS = YES\r\nCLANG_CXX_LANGUAGE_STANDARD = compiler-default\r\nCLANG_CXX_LIBRARY = libc++\r\nCLANG_ENABLE_OBJC_ARC = YES\r\n```\r\n\r\nif problem casued by standard library or compiler setting, I cannot change my build setting. \r\nthis setting is forced by another 3rd-party library.\r\n\r\nthanks.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bugsnag/bugsnag-unity/issues/comments/227033679","html_url":"https://github.com/bugsnag/bugsnag-unity/issues/23#issuecomment-227033679","issue_url":"https://api.github.com/repos/bugsnag/bugsnag-unity/issues/23","id":227033679,"user":{"login":"Salada","id":1726798,"avatar_url":"https://avatars.githubusercontent.com/u/1726798?v=3","gravatar_id":"","url":"https://api.github.com/users/Salada","html_url":"https://github.com/Salada","followers_url":"https://api.github.com/users/Salada/followers","following_url":"https://api.github.com/users/Salada/following{/other_user}","gists_url":"https://api.github.com/users/Salada/gists{/gist_id}","starred_url":"https://api.github.com/users/Salada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salada/subscriptions","organizations_url":"https://api.github.com/users/Salada/orgs","repos_url":"https://api.github.com/users/Salada/repos","events_url":"https://api.github.com/users/Salada/events{/privacy}","received_events_url":"https://api.github.com/users/Salada/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T01:31:12Z","updated_at":"2016-06-20T01:31:12Z","body":"Thank you for the reply.\r\n\r\nUnfortunately it is to hard to change c++ language dialect setting in our project.\r\n\r\nand sorry, ask for understanding i don't share the above mentioned third-part framework.\r\n\r\nwe use commercial product as server framework [ProudNet](https://ndn.nettention.com/general/download/). and this product force its setting on our project. then i do not provide this framework directly.\r\n\r\nif possible, i want to receive bugsnag-unity as static library (.a extensions / fat binary form) not raw code. probably it would be considered any conflicts will not occur. "}}
{"actor":{"display_login":"Salada"}}