https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3c9aedfd1c8c1f44c80d26c05722f3456c1a55e9

commit 3c9aedfd1c8c1f44c80d26c05722f3456c1a55e9
Author: Giannis Adamopoulos <[email protected]>
AuthorDate: Mon Oct 16 18:15:20 2017 +0300

    [QCKLNCH] Fix gcc build
---
 dll/shellext/qcklnch/CMakeLists.txt       | 3 +++
 dll/shellext/qcklnch/CQuickLaunchBand.cpp | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/dll/shellext/qcklnch/CMakeLists.txt 
b/dll/shellext/qcklnch/CMakeLists.txt
index bcc921891d..29b7ac8768 100644
--- a/dll/shellext/qcklnch/CMakeLists.txt
+++ b/dll/shellext/qcklnch/CMakeLists.txt
@@ -8,6 +8,9 @@ if(NOT MSVC)
     add_compile_flags_language("-std=c++11" "CXX")
 endif()
 
+add_definitions(
+    -D_ATL_NO_EXCEPTIONS)
+
 include_directories(
     ${REACTOS_SOURCE_DIR}/sdk/lib/atl
     ${REACTOS_SOURCE_DIR})
diff --git a/dll/shellext/qcklnch/CQuickLaunchBand.cpp 
b/dll/shellext/qcklnch/CQuickLaunchBand.cpp
index d250a3c5ca..487fb9725e 100644
--- a/dll/shellext/qcklnch/CQuickLaunchBand.cpp
+++ b/dll/shellext/qcklnch/CQuickLaunchBand.cpp
@@ -11,7 +11,7 @@
 WINE_DEFAULT_DEBUG_CHANNEL(qcklnch);
 
 // {260CB95D-4544-44F6-A079-575BAA60B72F}
-static const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 
0xa0, 0x79, 0x57, 0x5b, 0xaa, 0x60, 0xb7, 0x2f } };
+const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 
0x57, 0x5b, 0xaa, 0x60, 0xb7, 0x2f } };
 
 // Componenet Category Registration
     HRESULT RegisterComCat()

Reply via email to