Drop no longer needed warning suppression for clang
74345c92e4 fixed the underlying problem
for Python, and it was fixed for other affected languages shortly
after - see https://github.com/swig/swig/pull/1027
This commit is contained in:
parent
d721b4d639
commit
7d11c2901e
1 changed files with 0 additions and 11 deletions
|
|
@ -12,17 +12,6 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
// Suppress:
|
|
||||||
// warning: destination for this 'memset' call is a pointer to dynamic class
|
|
||||||
// 'Test::B'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
|
|
||||||
// memset(v_def,0,sizeof(Type));
|
|
||||||
// Better generated code is probably needed though
|
|
||||||
#pragma clang diagnostic ignored "-Wdynamic-class-memaccess"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue