Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
bcf274d6
Commit
bcf274d6
authored
Oct 13, 2012
by
Davis King
Browse files
Added #pragma to avoid an inappropriate warning from visual studio 2012
parent
dd054907
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dlib/any/any_function_impl.h
dlib/any/any_function_impl.h
+6
-0
No files found.
dlib/any/any_function_impl.h
View file @
bcf274d6
...
@@ -4,6 +4,12 @@
...
@@ -4,6 +4,12 @@
#error "You aren't supposed to directly #include this file. #include <dlib/any.h> instead."
#error "You aren't supposed to directly #include this file. #include <dlib/any.h> instead."
#endif
#endif
#ifdef _MSC_VER
// When using visual studio 2012, disable the warning "warning C4180: qualifier applied to function type has no meaning; ignored"
// that you get about some template expansions applying & to function types.
#pragma warning(disable : 4180)
#endif
#ifdef DLIB_ANY_FUNCTION_RETURN
#ifdef DLIB_ANY_FUNCTION_RETURN
// This file contains the body of the any_function class. We use the
// This file contains the body of the any_function class. We use the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment