qychen1982 / crashpad

Automatically exported from code.google.com/p/crashpad
0 stars 0 forks source link

crashpad does not build with OS X 10.10 SDK yet. #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[6/194] CXX obj/util/mac/util.service_management.o
FAILED: c++ -MMD -MF obj/util/mac/util.service_management.o.d  -I../.. 
-Iobj/util/util.gen -I../../compat/mac -I../../compat/non_win 
-I../../third_party/mini_chromium/mini_chromium -O0 -gdwarf-2 
-fvisibility=hidden -Werror -Wnewline-eof -arch x86_64 -Wall -Wendif-labels 
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wheader-hygiene 
-Wno-char-subscripts -Wno-covered-switch-default -Wstring-conversion 
-Wno-unused-function -std=gnu++11 -fno-rtti -fno-exceptions 
-fvisibility-inlines-hidden -fno-threadsafe-statics -fno-strict-aliasing 
-fstack-protector-all  -c ../../util/mac/service_management.cc -o 
obj/util/mac/util.service_management.o
In file included from ../../util/mac/service_management.cc:20:
../../third_party/mini_chromium/mini_chromium/base/mac/scoped_launch_data.h:29:7
: error: 'launch_data_free' is deprecated: first deprecated in OS X 10.10 
[-Werror,-Wdeprecated-declarations]
      launch_data_free(object_);
      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S
DKs/MacOSX10.10.sdk/usr/include/launch.h:233:1: note: 'launch_data_free' has 
been explicitly marked deprecated here
launch_data_free(launch_data_t ld);
^
In file included from ../../util/mac/service_management.cc:20:
../../third_party/mini_chromium/mini_chromium/base/mac/scoped_launch_data.h:35:9
: error: 'launch_data_free' is deprecated: first deprecated in OS X 10.10 
[-Werror,-Wdeprecated-declarations]
        launch_data_free(object_);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S
DKs/MacOSX10.10.sdk/usr/include/launch.h:233:1: note: 'launch_data_free' has 
been explicitly marked deprecated here
launch_data_free(launch_data_t ld);
^
...

Original issue reported on code.google.com by tfar...@chromium.org on 4 Mar 2015 at 11:30

GoogleCodeExporter commented 9 years ago
To work around this for now, you can do:

$ build/gyp_crashpad -Dmac_sdk=10.9

Original comment by rsesek@chromium.org on 6 Mar 2015 at 9:34

GoogleCodeExporter commented 9 years ago
https://codereview.chromium.org/981803004/: 
https://chromium.googlesource.com/chromium/mini_chromium/+/e7847b381703
https://codereview.chromium.org/989733003/: 
https://chromium.googlesource.com/crashpad/crashpad/+/bc401f6aac22

Original comment by mark@chromium.org on 7 Mar 2015 at 3:30

GoogleCodeExporter commented 9 years ago
https://codereview.chromium.org/978883007/: 
https://chromium.googlesource.com/crashpad/crashpad/+/88690cece308

Original comment by mark@chromium.org on 8 Mar 2015 at 7:13