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

commit a255e1d693cfd7940109a117240a6322a38232c2
Author:     Mark Jansen <[email protected]>
AuthorDate: Tue Apr 16 23:03:42 2019 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Thu Apr 18 19:21:38 2019 +0200

    [MSGINA_APITEST] Disable exceptions in atl when compiling without exceptions
---
 modules/rostests/apitests/msgina/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/rostests/apitests/msgina/CMakeLists.txt 
b/modules/rostests/apitests/msgina/CMakeLists.txt
index 524521db13..0d64a0c233 100644
--- a/modules/rostests/apitests/msgina/CMakeLists.txt
+++ b/modules/rostests/apitests/msgina/CMakeLists.txt
@@ -1,4 +1,7 @@
 
+add_definitions(
+    -D_ATL_NO_EXCEPTIONS)
+
 set_cpp(WITH_RUNTIME)
 
 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)

Reply via email to