summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-04-15 15:58:18 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-04-17 12:05:54 +0300
commit17364f0611fd147a5babc4258917b204ca88f586 (patch)
tree37b7137ecd6d7aa70e5d150c06e72f41eebd7eb2 /.gitignore
parent08eb0da6f5dbc9de1c0bf6e2ad7a7dedb24ac551 (diff)
downloadbdwgc-17364f0611fd147a5babc4258917b204ca88f586.tar.gz
Fix 'operator new is missing throw(bad_alloc)' clang warning in gc_cpp.h
The warning was reported on Window and only if __cplusplus < 201103L. * gc_cpp.cc [GC_NEW_DELETE_THROW_NOT_NEEDED && !GC_NEW_DELETE_NEED_THROW && GC_GNUC_PREREQ(4,2) && (__cplusplus<201103L || __clang__)] (GC_NEW_DELETE_NEED_THROW): Move definition to gc_cpp.h. * include/gc/gc_cpp.h [!GC_NO_INLINE_STD_NEW && (_MSC_VER || __DMC__ || (__BORLANDC__ || __CYGWIN__ || __CYGWIN32__ || __MINGW32__ || __WATCOMC__) && !GC_BUILD && !GC_NOT_DLL)] (GC_DECL_INLINE_NEW_THROW): New macro. * include/gc/gc_cpp.h [!GC_NO_INLINE_STD_NEW && (_MSC_VER || __DMC__ || (__BORLANDC__ || __CYGWIN__ || __CYGWIN32__ || __MINGW32__ || __WATCOMC__) && !GC_BUILD && !GC_NOT_DLL)] (operator new): Add GC_DECL_INLINE_NEW_THROW attribute.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions