From 074b2cc0079b6e0f746b642a691ea71623713066 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 28 Aug 2015 18:29:55 -0400 Subject: [PATCH 1/5] explicitly included --- Source/Project64/N64 System/C Core/Logging.cpp | 2 ++ Source/Project64/User Interface/Settings/Settings Page.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Source/Project64/N64 System/C Core/Logging.cpp b/Source/Project64/N64 System/C Core/Logging.cpp index bc9dacb18..cb0c661b6 100644 --- a/Source/Project64/N64 System/C Core/Logging.cpp +++ b/Source/Project64/N64 System/C Core/Logging.cpp @@ -10,6 +10,8 @@ ****************************************************************************/ #include "stdafx.h" +#include + void LoadLogSetting (HKEY hKey,char * String, BOOL * Value); void SaveLogOptions (void); diff --git a/Source/Project64/User Interface/Settings/Settings Page.h b/Source/Project64/User Interface/Settings/Settings Page.h index 2e043c66e..d7faa703d 100644 --- a/Source/Project64/User Interface/Settings/Settings Page.h +++ b/Source/Project64/User Interface/Settings/Settings Page.h @@ -10,6 +10,8 @@ ****************************************************************************/ #pragma once +#include + class CSettingsPage { public: From 6b34e8b89ad209cba19ff65a194585246041720c Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 28 Aug 2015 18:34:12 -0400 Subject: [PATCH 2/5] explicit to fix anti-ATL build errors --- Source/Project64/N64 System/Cheat Class.cpp | 1 + Source/Project64/User Interface/Gui Class.cpp | 2 ++ Source/Project64/User Interface/Rom Browser Class.cpp | 2 ++ Source/Project64/User Interface/Settings Config.h | 2 ++ 4 files changed, 7 insertions(+) diff --git a/Source/Project64/N64 System/Cheat Class.cpp b/Source/Project64/N64 System/Cheat Class.cpp index edb972975..c4b330ba4 100644 --- a/Source/Project64/N64 System/Cheat Class.cpp +++ b/Source/Project64/N64 System/Cheat Class.cpp @@ -10,6 +10,7 @@ ****************************************************************************/ #include "stdafx.h" +#include #include "Settings/SettingType/SettingsType-Cheats.h" enum { WM_EDITCHEAT = WM_USER + 0x120 }; diff --git a/Source/Project64/User Interface/Gui Class.cpp b/Source/Project64/User Interface/Gui Class.cpp index dd50c3b83..7dc876590 100644 --- a/Source/Project64/User Interface/Gui Class.cpp +++ b/Source/Project64/User Interface/Gui Class.cpp @@ -9,6 +9,8 @@ * * ****************************************************************************/ #include "stdafx.h" + +#include #include "Settings/SettingType/SettingsType-Application.h" extern "C" diff --git a/Source/Project64/User Interface/Rom Browser Class.cpp b/Source/Project64/User Interface/Rom Browser Class.cpp index b1fc3e800..45ce7f787 100644 --- a/Source/Project64/User Interface/Rom Browser Class.cpp +++ b/Source/Project64/User Interface/Rom Browser Class.cpp @@ -1,5 +1,7 @@ #include "stdafx.h" +#include + CRomBrowser::CRomBrowser (HWND & MainWindow, HWND & StatusWindow ) : m_MainWindow(MainWindow), m_StatusWindow(StatusWindow), diff --git a/Source/Project64/User Interface/Settings Config.h b/Source/Project64/User Interface/Settings Config.h index aa2704b84..34ad0371d 100644 --- a/Source/Project64/User Interface/Settings Config.h +++ b/Source/Project64/User Interface/Settings Config.h @@ -1,5 +1,7 @@ #pragma once +#include + class CConfigSettingSection; class CSettingsPage; From 7ce4f3db93442e7295fd2060f5b4cf05cfaefc0a Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 28 Aug 2015 18:34:34 -0400 Subject: [PATCH 3/5] explicit to fix anti-ATL build errors --- Source/Project64/N64 System/N64 Class.cpp | 1 + Source/Project64/User Interface/Main Menu Class.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Source/Project64/N64 System/N64 Class.cpp b/Source/Project64/N64 System/N64 Class.cpp index b7f90d87b..be17193fd 100644 --- a/Source/Project64/N64 System/N64 Class.cpp +++ b/Source/Project64/N64 System/N64 Class.cpp @@ -13,6 +13,7 @@ #pragma warning(disable:4355) // Disable 'this' : used in base member initializer list #include +#include CN64System::CN64System ( CPlugins * Plugins, bool SavesReadOnly ) : CSystemEvents(this, Plugins), diff --git a/Source/Project64/User Interface/Main Menu Class.cpp b/Source/Project64/User Interface/Main Menu Class.cpp index ddbc44ce0..b98ce91cb 100644 --- a/Source/Project64/User Interface/Main Menu Class.cpp +++ b/Source/Project64/User Interface/Main Menu Class.cpp @@ -1,5 +1,8 @@ #include "stdafx.h" +#include +#include + CMainMenu::CMainMenu ( CMainGui * hMainWindow ): CBaseMenu(), m_ResetAccelerators(true) From 7b4b5a6827ca3530d7f63f883de4ffcac8837c13 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 28 Aug 2015 18:35:13 -0400 Subject: [PATCH 4/5] explicit to fix just a few build errors w/o ATL --- Source/Project64/User Interface/Rom Browser Class.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Project64/User Interface/Rom Browser Class.cpp b/Source/Project64/User Interface/Rom Browser Class.cpp index 45ce7f787..d15f6a240 100644 --- a/Source/Project64/User Interface/Rom Browser Class.cpp +++ b/Source/Project64/User Interface/Rom Browser Class.cpp @@ -1,6 +1,7 @@ #include "stdafx.h" #include +#include CRomBrowser::CRomBrowser (HWND & MainWindow, HWND & StatusWindow ) : m_MainWindow(MainWindow), From d00937a997f2f1d58f058f626ab354dc3a237095 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 28 Aug 2015 18:35:36 -0400 Subject: [PATCH 5/5] explicit to fix 6 unresolved macros w/o ATL --- Source/Project64/N64 System/Cheat Class.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Project64/N64 System/Cheat Class.cpp b/Source/Project64/N64 System/Cheat Class.cpp index c4b330ba4..4151c04e6 100644 --- a/Source/Project64/N64 System/Cheat Class.cpp +++ b/Source/Project64/N64 System/Cheat Class.cpp @@ -11,6 +11,7 @@ #include "stdafx.h" #include +#include #include "Settings/SettingType/SettingsType-Cheats.h" enum { WM_EDITCHEAT = WM_USER + 0x120 };