[Libreoffice-commits] core.git: Branch 'aoo/trunk' - stlport/systemstl

Herbert Dürr hdu at apache.org
Thu May 30 09:07:27 PDT 2013


 stlport/systemstl/list |   38 ++++++++++++++++++++++++++++++++++++++
 stlport/systemstl/map  |   35 +++++++++++++++++++++++++++++++++++
 stlport/systemstl/set  |   37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 110 insertions(+)

New commits:
commit 19cd717e78ba8e558bbdaace2686100bd3c87206
Author: Herbert Dürr <hdu at apache.org>
Date:   Thu May 30 15:34:20 2013 +0000

    #i122208# added remaining header wrappers

diff --git a/stlport/systemstl/list b/stlport/systemstl/list
new file mode 100644
index 0000000..283880b
--- /dev/null
+++ b/stlport/systemstl/list
@@ -0,0 +1,38 @@
+/**************************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ *************************************************************/
+
+#ifndef SYSTEM_STL_LIST
+#define SYSTEM_STL_LIST
+
+#ifdef HAVE_STL_INCLUDE_PATH
+	// TODO: use computed include file name
+	#include_next <list>
+#elif defined(_MSC_VER)
+	#include <../../VC/include/list>
+	// MSVC's list would cause a lot of expression-result-unused warnings
+	// unless it is compiled in iterator-debugging mode. Silence this noise
+	#pragma warning(disable:4555)
+#else // fall back to boost/tr1
+	#include <boost/tr1/tr1/list>
+#endif
+
+#endif
+
diff --git a/stlport/systemstl/map b/stlport/systemstl/map
new file mode 100644
index 0000000..13f783b
--- /dev/null
+++ b/stlport/systemstl/map
@@ -0,0 +1,35 @@
+/**************************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ *************************************************************/
+
+#ifndef SYSTEM_STL_MAP
+#define SYSTEM_STL_MAP
+
+#ifdef HAVE_STL_INCLUDE_PATH
+	// TODO: use computed include file name
+	#include_next <map>
+#elif defined(_MSC_VER)
+	#include <../../VC/include/map>
+#else // fall back to boost/tr1
+	#include <boost/tr1/tr1/map>
+#endif
+
+#endif
+
diff --git a/stlport/systemstl/set b/stlport/systemstl/set
new file mode 100644
index 0000000..2d99053
--- /dev/null
+++ b/stlport/systemstl/set
@@ -0,0 +1,37 @@
+/**************************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ *************************************************************/
+
+#ifndef SYSTEM_STL_SET
+#define SYSTEM_STL_SET
+
+#if defined(HAVE_STL_INCLUDE_PATH)
+	namespace std { class type_info; };
+	// TODO: use computed include file name
+	#include "utility"
+	#include_next <set>
+#elif defined(_MSC_VER)
+	#include <../../VC/include/set>
+#else // fall back to boost/tr1
+	#include <boost/tr1/tr1/set>
+#endif
+
+#endif
+


More information about the Libreoffice-commits mailing list