Author: sebor
Date: Fri Mar 17 13:42:20 2006
New Revision: 386729
URL: http://svn.apache.org/viewcvs?rev=386729&view=rev
Log:
2006-03-17 Martin Sebor <[EMAIL PROTECTED]>
* ti_filebuf.cpp (<stdio.h>): Included before <fstream> to get
the extended member functions of basic_filebuf that take FILE*
as an argument defined and to prevent unsats from programs that
do the same thing when extern template is enabled.
* ti_filebuf.cpp: Ditto.
Modified:
incubator/stdcxx/trunk/src/ti_filebuf.cpp
incubator/stdcxx/trunk/src/ti_wfilebuf.cpp
Modified: incubator/stdcxx/trunk/src/ti_filebuf.cpp
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/ti_filebuf.cpp?rev=386729&r1=386728&r2=386729&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/ti_filebuf.cpp (original)
+++ incubator/stdcxx/trunk/src/ti_filebuf.cpp Fri Mar 17 13:42:20 2006
@@ -3,20 +3,26 @@
* ti_filebuf.cpp - explicit instantiation directives
* for basic_filebuf<char>
*
- * $Id: //stdlib/dev/source/stdlib/ti_filebuf.cpp#6 $
+ * $Id$
*
***************************************************************************
*
- * Copyright (c) 1994-2005 Quovadx, Inc., acting through its Rogue Wave
- * Software division. Licensed 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.
+ * Copyright 2005-2006 The Apache Software Foundation or its licensors,
+ * as applicable.
+ *
+ * Copyright 1994-2006 Rogue Wave Software.
+ *
+ * Licensed 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.
*
**************************************************************************/
@@ -36,4 +42,7 @@
# pragma warning (disable: 4661)
#endif // _MSC_VER
+// include <cstdio> to define the extended member functions that
+// take a FILE* argument
+#include <cstdio>
#include <fstream>
Modified: incubator/stdcxx/trunk/src/ti_wfilebuf.cpp
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/ti_wfilebuf.cpp?rev=386729&r1=386728&r2=386729&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/ti_wfilebuf.cpp (original)
+++ incubator/stdcxx/trunk/src/ti_wfilebuf.cpp Fri Mar 17 13:42:20 2006
@@ -3,20 +3,26 @@
* ti_wfilebuf.cpp - explicit instantiation directives
* for basic_filebuf<wchar_t>
*
- * $Id: //stdlib/dev/source/stdlib/ti_wfilebuf.cpp#5 $
+ * $Id$
*
***************************************************************************
*
- * Copyright (c) 1994-2005 Quovadx, Inc., acting through its Rogue Wave
- * Software division. Licensed 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.
+ * Copyright 2005-2006 The Apache Software Foundation or its licensors,
+ * as applicable.
+ *
+ * Copyright 1994-2006 Rogue Wave Software.
+ *
+ * Licensed 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.
*
**************************************************************************/
@@ -36,4 +42,7 @@
# pragma warning (disable: 4661)
#endif // _MSC_VER
+// include <cstdio> to define the extended member functions that
+// take a FILE* argument
+#include <cstdio>
#include <fstream>