vc++ warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f73702d354
commit
eeb67079e6
2 changed files with 14 additions and 8 deletions
|
|
@ -8,6 +8,10 @@ class FullError {
|
|||
FullError(int m) : maxsize(m) { }
|
||||
};
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
|
||||
#endif
|
||||
|
||||
template<typename T> class Queue {
|
||||
int maxsize;
|
||||
T *items;
|
||||
|
|
@ -44,8 +48,7 @@ template<typename T> class Queue {
|
|||
};
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(default: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue