folly: exception_tracer: add throw() to __cxa_begin_catch
authorLucian Grijincu <lucian@fb.com>
Mon, 1 Jun 2015 19:22:57 +0000 (12:22 -0700)
committerNoam Lerner <noamler@fb.com>
Wed, 3 Jun 2015 16:52:05 +0000 (09:52 -0700)
commit1706959a50b7ccb77402822beba6529ba04f354b
tree0e7774342936760af61524134c2fc0cc7892c610
parent45339b04458a02d445c680175d8daa53fb90b512
folly: exception_tracer: add throw() to __cxa_begin_catch

Summary:
http://libcxxabi.llvm.org/spec.html

void* __cxa_begin_catch(void* exceptionObject) throw();

```
folly/experimental/exception_tracer/ExceptionTracerLib.cpp:145:7: error: '__cxa_begin_catch' is missing exception specification 'throw()' [-Werror]
void* __cxa_begin_catch(void *excObj) {
^
throw()
folly/experimental/exception_tracer/ExceptionTracerLib.cpp:35:7: note: previous declaration is here
void* __cxa_begin_catch(void* excObj);
^
1 error generated.
11.44s error: folly/experimental/exception_tracer/ExceptionTracerLib.cpp
fbmake: *** [_build/opt/folly/experimental/exception_tracer/b187621/ExceptionTracerLib.o] Error 1
```

Test Plan: fbmake

Reviewed By: philipp@fb.com

Subscribers: folly-diffs@, yfeldblum, tudort, chalfant

FB internal diff: D2115305

Tasks: 5908365

Signature: t1:2115305:1433186210:3652d81ab10effe1be6da86705322ce090fb6cd4

Blame Revision: https://phabricator.fb.com/D2114085
folly/experimental/exception_tracer/ExceptionTracerLib.cpp