Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
03449af3
Commit
03449af3
authored
Dec 27, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to avoid compiler warnings from gcc in some cases
parent
5874a2d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
assert.h
dlib/assert.h
+1
-1
logger_kernel_1.h
dlib/logger/logger_kernel_1.h
+1
-1
uintn.h
dlib/uintn.h
+2
-2
No files found.
dlib/assert.h
View file @
03449af3
...
@@ -82,7 +82,7 @@ namespace dlib
...
@@ -82,7 +82,7 @@ namespace dlib
# else
# else
# define DLIB_FUNCTION_NAME "unknown function"
# define DLIB_FUNCTION_NAME "unknown function"
# endif
# endif
#elif
_MSC_VER
#elif
defined(_MSC_VER)
#define DLIB_FUNCTION_NAME __FUNCSIG__
#define DLIB_FUNCTION_NAME __FUNCSIG__
#else
#else
#define DLIB_FUNCTION_NAME "unknown function"
#define DLIB_FUNCTION_NAME "unknown function"
...
...
dlib/logger/logger_kernel_1.h
View file @
03449af3
...
@@ -603,7 +603,7 @@ namespace dlib
...
@@ -603,7 +603,7 @@ namespace dlib
// following line of code. However, there is also a bug in gcc-3.3
// 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
// that causes it to error out if <T> is present. So this works around
// this problem.
// this problem.
#if _MSC_VER == 1400
#if
defined(_MSC_VER) &&
_MSC_VER == 1400
hook
.
set
<
T
>
(
object
,
hook_
);
hook
.
set
<
T
>
(
object
,
hook_
);
#else
#else
hook
.
set
(
object
,
hook_
);
hook
.
set
(
object
,
hook_
);
...
...
dlib/uintn.h
View file @
03449af3
...
@@ -25,10 +25,10 @@ namespace dlib
...
@@ -25,10 +25,10 @@ namespace dlib
#ifdef __GNUC__
#ifdef __GNUC__
typedef
unsigned
long
long
uint64
;
typedef
unsigned
long
long
uint64
;
typedef
long
long
int64
;
typedef
long
long
int64
;
#elif
__BORLANDC__
#elif
defined(__BORLANDC__)
typedef
unsigned
__int64
uint64
;
typedef
unsigned
__int64
uint64
;
typedef
__int64
int64
;
typedef
__int64
int64
;
#elif
_MSC_VER
#elif
defined(_MSC_VER)
typedef
unsigned
__int64
uint64
;
typedef
unsigned
__int64
uint64
;
typedef
__int64
int64
;
typedef
__int64
int64
;
#else
#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