Skip to content

Commit

Permalink
Supress the warning 4311 and 4312 when compiling Dll and NPFInstall p…
Browse files Browse the repository at this point in the history
…rojects, these warnings are because VS2005 are too old for newer Windows SDKs.
  • Loading branch information
hsluoyz committed Dec 29, 2015
1 parent 3875949 commit 1a07ac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packetWin7/Dll/ProtInstall.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
//
// End ---------------------------------------------------------------------

#pragma warning(disable: 4311 4312)

//
// ATTENTION!!!
Expand Down
1 change: 1 addition & 0 deletions packetWin7/Dll/netcfgapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define _NETCFGAPI_H_INCLUDED

#pragma warning(disable: 4996)
#pragma warning(disable: 4311 4312)
#include <iostream>
#include <tchar.h>

Expand Down

0 comments on commit 1a07ac7

Please sign in to comment.