[esnacc-dev] [PATCH] snaccdll: remove stdafx references

Aaron Conole aconole at bytheb.org
Tue Apr 30 14:25:51 UTC 2019


These are some kinds of pch optimizations and aren't used currently.

Signed-off-by: Aaron Conole <aconole at bytheb.org>
---
 cxx-lib/cppasn1/cppasn1.vcproj.vspscc | 10 ----------
 cxx-lib/cppasn1/stdafx.cpp            |  8 --------
 cxx-lib/cppasn1/stdafx.h              | 24 ------------------------
 cxx-lib/src/snaccdll.cpp              |  5 -----
 4 files changed, 47 deletions(-)
 delete mode 100644 cxx-lib/cppasn1/cppasn1.vcproj.vspscc
 delete mode 100644 cxx-lib/cppasn1/stdafx.cpp
 delete mode 100644 cxx-lib/cppasn1/stdafx.h

diff --git a/cxx-lib/cppasn1/cppasn1.vcproj.vspscc b/cxx-lib/cppasn1/cppasn1.vcproj.vspscc
deleted file mode 100644
index 077b0cd..0000000
--- a/cxx-lib/cppasn1/cppasn1.vcproj.vspscc
+++ /dev/null
@@ -1,10 +0,0 @@
-""
-{
-"FILE_VERSION" = "9237"
-"ENLISTMENT_CHOICE" = "NEVER"
-"PROJECT_FILE_RELATIVE_PATH" = ""
-"NUMBER_OF_EXCLUDED_FILES" = "0"
-"ORIGINAL_PROJECT_FILE_PATH" = "file:C:\\MyProjects\\SNACC\\c++-lib\\cppasn1\\cppasn1.vcproj"
-"NUMBER_OF_NESTED_PROJECTS" = "0"
-"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
-}
diff --git a/cxx-lib/cppasn1/stdafx.cpp b/cxx-lib/cppasn1/stdafx.cpp
deleted file mode 100644
index 25869a2..0000000
--- a/cxx-lib/cppasn1/stdafx.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// stdafx.cpp : source file that includes just the standard includes
-//	snaccDLL.pch will be the pre-compiled header
-//	stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
diff --git a/cxx-lib/cppasn1/stdafx.h b/cxx-lib/cppasn1/stdafx.h
deleted file mode 100644
index 483fde7..0000000
--- a/cxx-lib/cppasn1/stdafx.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// stdafx.h : include file for standard system include files,
-//  or project specific include files that are used frequently, but
-//      are changed infrequently
-//
-
-#if !defined(AFX_STDAFX_H__0ED4C143_4AB0_11D3_803D_0000863260D8__INCLUDED_)
-#define AFX_STDAFX_H__0ED4C143_4AB0_11D3_803D_0000863260D8__INCLUDED_
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-
-
-// Insert your headers here
-#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
-
-#include <windows.h>
-
-// TODO: reference additional headers your program requires here
-
-//{{AFX_INSERT_LOCATION}}
-// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_STDAFX_H__0ED4C143_4AB0_11D3_803D_0000863260D8__INCLUDED_)
diff --git a/cxx-lib/src/snaccdll.cpp b/cxx-lib/src/snaccdll.cpp
index beab11f..b9229c3 100644
--- a/cxx-lib/src/snaccdll.cpp
+++ b/cxx-lib/src/snaccdll.cpp
@@ -3,11 +3,6 @@
 //
 
 #include <windows.h>
-
-#if defined(_MSC_VER)
-#include "stdafx.h"
-#endif
-
 #include "snaccdll.h"
 
 extern "C" SNACCDLL_API BOOL WINAPI DllMain( HANDLE , 
-- 
2.19.1



More information about the dev mailing list