diff options
author | Nikolai Pretzell <np@openoffice.org> | 2002-06-25 14:16:17 +0000 |
---|---|---|
committer | Nikolai Pretzell <np@openoffice.org> | 2002-06-25 14:16:17 +0000 |
commit | 187524129d40e68c317cd585699ab5f6ddc9ae6e (patch) | |
tree | 3aa4b5563f06f124fec76d83d62c830f928a93ce /cosv | |
parent | 6abe10805ce123a6ebdac0b6e8d61fa146a5ad52 (diff) |
#100647# Missing anonymous namespaces and replaced assertion in namespace parsing by exception.
Diffstat (limited to 'cosv')
-rw-r--r-- | cosv/inc/cosv/csv_env.hxx | 16 | ||||
-rw-r--r-- | cosv/inc/cosv/string.hxx | 7 | ||||
-rw-r--r-- | cosv/source/fullcpp.mk | 5 |
3 files changed, 18 insertions, 10 deletions
diff --git a/cosv/inc/cosv/csv_env.hxx b/cosv/inc/cosv/csv_env.hxx index 8dbd6ae5380d..eb2979a0e3ac 100644 --- a/cosv/inc/cosv/csv_env.hxx +++ b/cosv/inc/cosv/csv_env.hxx @@ -2,9 +2,9 @@ * * $RCSfile: csv_env.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: np $ $Date: 2002-05-14 08:08:45 $ + * last change: $Author: np $ $Date: 2002-06-25 15:15:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -67,13 +67,13 @@ // BEGIN Compiler dependent defines regarding standard compliance, // subject to changes: // #define CSV_NO_BOOL_TYPE // States that no system type 'bool' exists -// #define CSV_NO_MUTABLE // No keyword mutable -#define CSV_NO_EXPLICIT // No keyword explicit +// #define CSV_NO_MUTABLE // No keyword mutable +// #define CSV_NO_EXPLICIT // No keyword explicit // #define CSV_NO_IOSTREAMS // No iostreams // END Compiler dependent defines, subject to changes -// BEGIN Compiler dependent defines, controlled by above defines +// BEGIN Compiler dependant defines, controlled by above defines #ifdef CSV_NO_BOOL_TYPE typedef int bool_int; #define bool bool_int @@ -91,6 +91,12 @@ typedef int bool_int; // END Compiler dependent defines, controlled by above defines +//******* Include c-language-types ************// +// size_t, wchar_t +#include <stdlib.h> + + + //******* Builtin types of exact length ************// // Exact length builtin types diff --git a/cosv/inc/cosv/string.hxx b/cosv/inc/cosv/string.hxx index 7baacbd0b77c..39767fa99861 100644 --- a/cosv/inc/cosv/string.hxx +++ b/cosv/inc/cosv/string.hxx @@ -2,9 +2,9 @@ * * $RCSfile: string.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:25:39 $ + * last change: $Author: np $ $Date: 2002-06-25 15:15:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -104,7 +104,8 @@ class String // LIFECYCLE String(); - explicit String( + /// Intentionally not explicit, smooth casting is intended. + String( const char * i_str ); /// @precond i_nLength <= strlen(i_str) or i_nLength == str::maxsize. String( diff --git a/cosv/source/fullcpp.mk b/cosv/source/fullcpp.mk index e3c5a5d6d300..4c871d0a2e6d 100644 --- a/cosv/source/fullcpp.mk +++ b/cosv/source/fullcpp.mk @@ -2,9 +2,9 @@ # # $RCSfile: fullcpp.mk,v $ # -# $Revision: 1.2 $ +# $Revision: 1.3 $ # -# last change: $Author: np $ $Date: 2002-05-31 16:34:29 $ +# last change: $Author: np $ $Date: 2002-06-25 15:15:46 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -86,6 +86,7 @@ CFLAGS+= -YX"precomp.h" /Fp$(PRJ)$/$(INPATH)$/misc$/$(PCH_NAME).pcd -DNP_LOCALBU .ENDIF .IF "$(OS)"=="LINUX" +# RTTI CFLAGSCXX+= -frtti .ENDIF |