#pragma warning moved to dnn.h

This commit is contained in:
Fm 2016-06-22 18:09:26 +03:00
parent 2e741703ef
commit cc38772715
3 changed files with 6 additions and 12 deletions

View File

@ -3,6 +3,12 @@
#ifndef DLIB_DNn_
#define DLIB_DNn_
// DNN module uses template-based network declaration that leads to very long
// type names. Visual Studio will produce Warning C4503 in such cases
#ifdef _MSC_VER
# pragma warning( disable: 4503 )
#endif
#include "dnn/tensor.h"
#include "dnn/input.h"
#include "dnn/layers.h"

View File

@ -23,12 +23,6 @@
the IEEE Conference on Computer Vision and Pattern Recognition. 2015.
*/
// DNN module uses template-based network declaration that leads to very long
// type names. Visual Studio will produce Warning C4503 in such cases
#ifdef _MSC_VER
# pragma warning( disable: 4503 )
#endif
#include <dlib/dnn.h>
#include <iostream>
#include <dlib/data_io.h>

View File

@ -10,12 +10,6 @@
- Accessing and configuring layers in a network
*/
// DNN module uses template-based network declaration that leads to very long
// type names. Visual Studio will produce Warning C4503 in such cases
#ifdef _MSC_VER
# pragma warning( disable: 4503 )
#endif
#include <dlib/dnn.h>
#include <iostream>
#include <dlib/data_io.h>