Author: hdu
Date: Wed May 15 10:04:51 2013
New Revision: 1482744

URL: http://svn.apache.org/r1482744
Log:
#i122208# prevent boost from using typeids in connectivity's no-rtti parts

fixes a build breaker in some environments where boost's tr1 is used as STL.
The dependence of rtti-less parts of the connectivity module on rtti-enabled
comphelper headers which in turn uses STL in both modes explores the limits
of compilers and runtime environments for little gain and is thus quite sick...

Modified:
    
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/mozab/makefile_mozab.mk

Modified: 
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/mozab/makefile_mozab.mk
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/connectivity/source/drivers/mozab/makefile_mozab.mk?rev=1482744&r1=1482743&r2=1482744&view=diff
==============================================================================
--- 
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/mozab/makefile_mozab.mk
 (original)
+++ 
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/mozab/makefile_mozab.mk
 Wed May 15 10:04:51 2013
@@ -69,7 +69,7 @@ MOZINC = . \
   .IF "$(COM)" == "GCC"
     INCPOST += $(MOZINC)
     CFLAGSCXX += \
-                -fno-rtti \
+                -fno-rtti -DBOOST_NO_TYPEID \
                 -Wall \
                 -Wconversion \
                 -Wpointer-arith \
@@ -95,7 +95,7 @@ MOZINC = . \
     CFLAGS  += -fPIC -g
     CDEFS   += -DOJI
     CFLAGSCXX += \
-            -fno-rtti \
+            -fno-rtti -DBOOST_NO_TYPEID \
             -Wconversion \
             -Wpointer-arith \
             -Wcast-align \
@@ -107,7 +107,7 @@ MOZINC = . \
   .ELIF "$(OS)" == "NETBSD" || "$(OS)" == "MACOSX"
     CFLAGS +=   -fPIC
     CFLAGSCXX += \
-            -fno-rtti \
+            -fno-rtti -DBOOST_NO_TYPEID \
             -Wconversion \
             -Wpointer-arith \
             -Wcast-align \


Reply via email to