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
8061c31a
"...en/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "be0bfcec4dacf5f98de9b12967472a3a5b5fcde2"
Commit
8061c31a
authored
Sep 06, 2016
by
Davis King
Browse files
Added a warning message to remind users to enable C++11 support.
parent
a6dd7d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
dlib/algs.h
dlib/algs.h
+8
-0
No files found.
dlib/algs.h
View file @
8061c31a
...
@@ -10,6 +10,14 @@
...
@@ -10,6 +10,14 @@
// this file contains miscellaneous stuff
// this file contains miscellaneous stuff
// Give people who forget the -std=c++11 option a reminder
#if (defined(__GNUC__) && ((__GNUC__ >= 4 && __GNUC_MINOR__ >= 8) || (__GNUC__ > 4))) || \
(defined(__clang__) && ((__clang_major__ >= 3 && __clang_minor__ >= 4) || (__clang_major__ >= 3)))
#if __cplusplus < 201103
#error "Dlib requires C++11 support. Give your compiler the -std=c++11 option to enable it."
#endif
#endif
#ifdef _MSC_VER
#ifdef _MSC_VER
...
...
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