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
8e80150f
Commit
8e80150f
authored
Dec 04, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to avoid conflicts and warnings in visual studio.
parent
56d69eee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
jmorecfg.h
dlib/external/libjpeg/jmorecfg.h
+13
-1
pngconf.h
dlib/external/libpng/pngconf.h
+9
-0
No files found.
dlib/external/libjpeg/jmorecfg.h
View file @
8e80150f
...
...
@@ -49,6 +49,16 @@
* arrays is very slow on your hardware, you might want to change these.
*/
#ifdef _MSC_VER
// Disable the following warnings for Visual Studio
// This is a warning you get from visual studio 2005 about things in the standard C++
// library being "deprecated." I checked the C++ standard and it doesn't say jack
// about any of them (I checked the searchable PDF). So this warning is total Bunk.
#pragma warning(disable : 4996)
#endif
#if BITS_IN_JSAMPLE == 8
/* JSAMPLE should be the smallest type that will hold the values 0..255.
* You can use a signed char by having GETJSAMPLE mask it with 0xFF.
...
...
@@ -187,7 +197,9 @@ typedef unsigned int JDIMENSION;
#ifdef NEED_FAR_POINTERS
#define FAR far
#else
#define FAR
#ifndef FAR
#define FAR
#endif
#endif
...
...
dlib/external/libpng/pngconf.h
View file @
8e80150f
...
...
@@ -19,6 +19,15 @@
* and png_info.
*/
#ifdef _MSC_VER
// Disable the following warnings for Visual Studio
// This is a warning you get from visual studio 2005 about things in the standard C++
// library being "deprecated." I checked the C++ standard and it doesn't say jack
// about any of them (I checked the searchable PDF). So this warning is total Bunk.
#pragma warning(disable : 4996)
#endif
#ifndef PNGCONF_H
#define PNGCONF_H
...
...
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