mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Disable another visual studio warning.
This commit is contained in:
parent
c5b29d985b
commit
b10b2e1e7f
@ -71,6 +71,13 @@
|
|||||||
// Disable "warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)"
|
// Disable "warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)"
|
||||||
#pragma warning(disable : 4290)
|
#pragma warning(disable : 4290)
|
||||||
|
|
||||||
|
|
||||||
|
// DNN module uses template-based network declaration that leads to very long
|
||||||
|
// type names. Visual Studio will produce Warning C4503 in such cases. https://msdn.microsoft.com/en-us/library/074af4b6.aspx says
|
||||||
|
// that correct binaries are still produced even when this warning happens, but linker errors from visual studio, if they occurr could be confusing.
|
||||||
|
#pragma warning( disable: 4503 )
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
|
Loading…
Reference in New Issue
Block a user