Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
lvzhengyang
git2
Commits
ca3939e6
Commit
ca3939e6
authored
Jun 03, 2010
by
Ramsay Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvc: Disable a level 4 warning and change -W3 to -W4
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
parent
0aaf8708
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
Makefile
+1
-1
src/cc-compat.h
+2
-0
tests/Makefile
+1
-1
No files found.
Makefile
View file @
ca3939e6
...
...
@@ -42,7 +42,7 @@ ifeq ($(uname_S),Windows)
RANLIB
=
echo
CC
=
cl
-nologo
AR
=
lib
-nologo
CFLAGS
=
-TC
-W
3
-RTC1
-Zi
-DWIN32
-D_DEBUG
-D_LIB
CFLAGS
=
-TC
-W
4
-RTC1
-Zi
-DWIN32
-D_DEBUG
-D_LIB
AR_OUT
=
-out
:
CC_OUT
=
-Fo
NO_VISIBILITY
=
YesPlease
...
...
src/cc-compat.h
View file @
ca3939e6
...
...
@@ -66,6 +66,8 @@
#if defined(_MSC_VER)
/* disable "deprecated function" warnings */
# pragma warning ( disable : 4996 )
/* disable "conditional expression is constant" level 4 warnings */
# pragma warning ( disable : 4127 )
#endif
#endif
/* INCLUDE_compat_h__ */
tests/Makefile
View file @
ca3939e6
...
...
@@ -28,7 +28,7 @@ CC_OUT=-o # add a space
ifeq
($(uname_S),Windows)
CC
=
cl
-nologo
LD
=
link
-nologo
CFLAGS
=
-TC
-W
3
-RTC1
-Zi
-DWIN32
-D_DEBUG
-D_LIB
CFLAGS
=
-TC
-W
4
-RTC1
-Zi
-DWIN32
-D_DEBUG
-D_LIB
LD_OUT
=
-out
:
CC_OUT
=
-Fo
...
...
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