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
a3dad7ac
Commit
a3dad7ac
authored
Feb 05, 2016
by
Davis King
Browse files
fixed compiler warnings in old gcc
parent
6b064d35
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dlib/smart_pointers/shared_ptr.h
dlib/smart_pointers/shared_ptr.h
+2
-2
dlib/smart_pointers/shared_ptr_thread_safe.h
dlib/smart_pointers/shared_ptr_thread_safe.h
+2
-2
No files found.
dlib/smart_pointers/shared_ptr.h
View file @
a3dad7ac
...
...
@@ -12,7 +12,7 @@
// Don't warn about the use of std::auto_ptr in this file. There is a pragma at the end of
// this file that re-enables the warning.
#ifdef
__GNUC__
#if
def
ined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
...
...
@@ -527,7 +527,7 @@ namespace dlib
}
#ifdef
__GNUC__
#if
def
ined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
#pragma GCC diagnostic pop
#endif
...
...
dlib/smart_pointers/shared_ptr_thread_safe.h
View file @
a3dad7ac
...
...
@@ -13,7 +13,7 @@
// Don't warn about the use of std::auto_ptr in this file. There is a pragma at the end of
// this file that re-enables the warning.
#ifdef
__GNUC__
#if
def
ined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
...
...
@@ -497,7 +497,7 @@ namespace dlib
// ----------------------------------------------------------------------------------------
#ifdef
__GNUC__
#if
def
ined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
#pragma GCC diagnostic pop
#endif
...
...
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