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
a6c331ce
Commit
a6c331ce
authored
Nov 18, 2016
by
Davis King
Browse files
Suppress bogus warnings from nvcc about unreachable code that is actually
reachable.
parent
4103be8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dlib/algs.h
dlib/algs.h
+7
-0
No files found.
dlib/algs.h
View file @
a6c331ce
...
@@ -18,6 +18,13 @@
...
@@ -18,6 +18,13 @@
#endif
#endif
#endif
#endif
#if defined __NVCC__
// Disable the "statement is unreachable" message since it will go off on code that is
// actually reachable but just happens to not be reachable sometimes during certain
// template instantiations.
#pragma diag_suppress code_is_unreachable
#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