← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~davidagraf/zorba/cclient-with-clang into lp:zorba/email-module

 

David Graf has proposed merging lp:~davidagraf/zorba/cclient-with-clang into lp:zorba/email-module.

Requested reviews:
  Ghislain Fourny (gislenius)

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/cclient-with-clang/+merge/117996
-- 
https://code.launchpad.net/~davidagraf/zorba/cclient-with-clang/+merge/117996
Your team Zorba Coders is subscribed to branch lp:zorba/email-module.
=== modified file 'src/com/zorba-xquery/www/modules/email/CMakeLists.txt'
--- src/com/zorba-xquery/www/modules/email/CMakeLists.txt	2012-07-24 18:08:43 +0000
+++ src/com/zorba-xquery/www/modules/email/CMakeLists.txt	2012-08-02 21:20:21 +0000
@@ -61,6 +61,12 @@
 
     IF(UNIX AND NOT WIN32)
       ADD_DEFINITIONS(-fPIC)
+
+      # option needed to make c-client compilable with clang
+      IF (CLANG)
+        SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fms-compatibility")
+      ENDIF()
+
     ENDIF(UNIX AND NOT WIN32)
 
     TARGET_LINK_LIBRARIES(imap_commons ${SMTP_LINK_LIBRARIES})


Follow ups