mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Enable RTTI for clang-based builds
This allows for a more verbose error message on mac os x ``` libc++abi.dylib: terminating with uncaught exception of type vips::VError ``` becomes ``` libc++abi.dylib: terminating with uncaught exception of type vips::VError: VipsImage: memory area too small --- should be 1191960 bytes, you passed 1189440 ```
This commit is contained in:
parent
6bc2ea8dc7
commit
f214269aa1
@ -167,6 +167,7 @@
|
||||
'CLANG_CXX_LIBRARY': 'libc++',
|
||||
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
||||
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
|
||||
'GCC_ENABLE_CPP_RTTI': 'YES',
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'-fexceptions',
|
||||
'-Wall',
|
||||
|
Loading…
x
Reference in New Issue
Block a user