Ignore:
Timestamp:
Jun 12, 2019 6:00:35 AM (5 years ago)
Author:
nanang
Message:

Misc (re #2147): Fixed compile warnings "dynamic exception specifications are deprecated in C++11".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/pjsua2.i

    r5974 r6026  
    9797%ignore toPj; 
    9898 
     99// C++11 deprecated dynamic exception specification, but SWIG needs it. 
     100#ifndef SWIG 
     101#   define PJSUA2_THROW(x) 
     102#else 
     103#   define PJSUA2_THROW(x) throw(x) 
     104#endif 
     105 
     106 
    99107// 
    100108// Now include the API itself. 
Note: See TracChangeset for help on using the changeset viewer.