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
03449af3
Commit
03449af3
authored
Dec 27, 2013
by
Davis King
Browse files
Minor changes to avoid compiler warnings from gcc in some cases
parent
5874a2d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dlib/assert.h
dlib/assert.h
+1
-1
dlib/logger/logger_kernel_1.h
dlib/logger/logger_kernel_1.h
+1
-1
dlib/uintn.h
dlib/uintn.h
+2
-2
No files found.
dlib/assert.h
View file @
03449af3
...
...
@@ -82,7 +82,7 @@ namespace dlib
# else
# define DLIB_FUNCTION_NAME "unknown function"
# endif
#elif _MSC_VER
#elif
defined(
_MSC_VER
)
#define DLIB_FUNCTION_NAME __FUNCSIG__
#else
#define DLIB_FUNCTION_NAME "unknown function"
...
...
dlib/logger/logger_kernel_1.h
View file @
03449af3
...
...
@@ -603,7 +603,7 @@ namespace dlib
// following line of code. However, there is also a bug in gcc-3.3
// that causes it to error out if <T> is present. So this works around
// this problem.
#if _MSC_VER == 1400
#if
defined(_MSC_VER) &&
_MSC_VER == 1400
hook
.
set
<
T
>
(
object
,
hook_
);
#else
hook
.
set
(
object
,
hook_
);
...
...
dlib/uintn.h
View file @
03449af3
...
...
@@ -25,10 +25,10 @@ namespace dlib
#ifdef __GNUC__
typedef
unsigned
long
long
uint64
;
typedef
long
long
int64
;
#elif __BORLANDC__
#elif
defined(
__BORLANDC__
)
typedef
unsigned
__int64
uint64
;
typedef
__int64
int64
;
#elif _MSC_VER
#elif
defined(
_MSC_VER
)
typedef
unsigned
__int64
uint64
;
typedef
__int64
int64
;
#else
...
...
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