Author: gedmurphy
Date: Thu Oct 15 10:39:06 2015
New Revision: 69538
URL:
http://svn.reactos.org/svn/reactos?rev=69538&view=rev
Log:
[DEVMGR]
Fix building with RosBE/g++
Modified:
trunk/reactos/dll/win32/devmgr_new/CMakeLists.txt
trunk/reactos/dll/win32/devmgr_new/api.cpp
trunk/reactos/dll/win32/devmgr_new/devmgr.spec
Modified: trunk/reactos/dll/win32/devmgr_new/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr_new/CMake…
==============================================================================
--- trunk/reactos/dll/win32/devmgr_new/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr_new/CMakeLists.txt [iso-8859-1] Thu Oct 15 10:39:06
2015
@@ -2,12 +2,11 @@
spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB)
-set_cpp(WITH_RTTI WITH_RUNTIME)
+set_cpp(WITH_RTTI WITH_RUNTIME WITH_EXCEPTIONS)
if(NOT MSVC)
# HACK: this should be enabled globally!
add_compile_flags_language("-std=c++11" "CXX")
- add_compile_flags("-fexceptions")
endif()
include_directories(
Modified: trunk/reactos/dll/win32/devmgr_new/api.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr_new/api.c…
==============================================================================
--- trunk/reactos/dll/win32/devmgr_new/api.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr_new/api.cpp [iso-8859-1] Thu Oct 15 10:39:06 2015
@@ -17,6 +17,7 @@
*/
#include "precomp.h"
+#include <devmgr/devmgr.h>
#include "devmgmt/MainWindow.h"
HINSTANCE hDllInstance = NULL;
Modified: trunk/reactos/dll/win32/devmgr_new/devmgr.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr_new/devmg…
==============================================================================
--- trunk/reactos/dll/win32/devmgr_new/devmgr.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr_new/devmgr.spec [iso-8859-1] Thu Oct 15 10:39:06 2015
@@ -21,7 +21,7 @@
23 stdcall DeviceProblenWizard_RunDLLA(ptr ptr str long) DeviceProblemWizard_RunDLLA
24 stdcall DeviceProblenWizard_RunDLLW(ptr ptr wstr long) DeviceProblemWizard_RunDLLW
-@ stub -private DllCanUnloadNow
-@ stub -private DllGetClassObject
-@ stub -private DllRegisterServer
-@ stub -private DllUnregisterServer
+@ stdcall -private DllCanUnloadNow()
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
+@ stdcall -private DllRegisterServer()
+@ stdcall -private DllUnregisterServer()