1 diff -up xbase-2.0.0/xbase/xbstring.h.gcc43 xbase-2.0.0/xbase/xbstring.h
2 --- xbase-2.0.0/xbase/xbstring.h.gcc43 2001-01-27 06:00:32.000000000 +0100
3 +++ xbase-2.0.0/xbase/xbstring.h 2008-03-11 20:21:20.000000000 +0100
13 @@ -119,7 +119,7 @@ public:
14 bool operator <= ( const xbString& ) const;
15 bool operator >= ( const xbString& ) const;
17 - friend ostream& operator << ( ostream&, const xbString& );
18 + friend std::ostream& operator << ( std::ostream&, const xbString& );
20 xbString &remove(size_t pos = 0, int n = npos);
21 xbString mid(size_t pos = 0, int n = npos) const;
22 diff -up xbase-2.0.0/xbase/dbf.cpp.gcc43 xbase-2.0.0/xbase/dbf.cpp
23 --- xbase-2.0.0/xbase/dbf.cpp.gcc43 2008-03-11 20:24:01.000000000 +0100
24 +++ xbase-2.0.0/xbase/dbf.cpp 2008-03-11 20:25:01.000000000 +0100
27 #include <xbase/xbexcept.h>
35 diff -up xbase-2.0.0/xbase/xbstring.cpp.gcc43 xbase-2.0.0/xbase/xbstring.cpp
36 --- xbase-2.0.0/xbase/xbstring.cpp.gcc43 2008-03-11 20:33:00.000000000 +0100
37 +++ xbase-2.0.0/xbase/xbstring.cpp 2008-03-11 20:33:00.000000000 +0100
38 @@ -582,7 +582,7 @@ bool xbString::operator>=( const xbStrin
39 //! Short description.
42 -XBDLLEXPORT ostream& operator << ( ostream& os, const xbString& xbs ) {
43 +XBDLLEXPORT std::ostream& operator << ( std::ostream& os, const xbString& xbs ) {
44 return os << xbs.data;
47 diff -up xbase-2.0.0/xbase/exp.cpp.gcc43 xbase-2.0.0/xbase/exp.cpp
48 --- xbase-2.0.0/xbase/exp.cpp.gcc43 2008-03-11 20:23:54.000000000 +0100
49 +++ xbase-2.0.0/xbase/exp.cpp 2008-03-11 20:24:30.000000000 +0100
52 #include <xbase/xbexcept.h>
59 diff -up xbase-2.0.0/xbase/html.cpp.gcc43 xbase-2.0.0/xbase/html.cpp
60 --- xbase-2.0.0/xbase/html.cpp.gcc43 2008-03-11 20:27:18.000000000 +0100
61 +++ xbase-2.0.0/xbase/html.cpp 2008-03-11 20:28:56.000000000 +0100
64 #include <xbase/xbexcept.h>
72 diff -up xbase-2.0.0/xbase/ntx.cpp.gcc43 xbase-2.0.0/xbase/ntx.cpp
73 --- xbase-2.0.0/xbase/ntx.cpp.gcc43 2008-03-11 20:33:48.000000000 +0100
74 +++ xbase-2.0.0/xbase/ntx.cpp 2008-03-11 20:33:59.000000000 +0100
77 #include <xbase/xbexcept.h>
85 diff -up xbase-2.0.0/xbase/xbase.cpp.gcc43 xbase-2.0.0/xbase/xbase.cpp
86 --- xbase-2.0.0/xbase/xbase.cpp.gcc43 2008-03-11 20:32:08.000000000 +0100
87 +++ xbase-2.0.0/xbase/xbase.cpp 2008-03-11 20:32:08.000000000 +0100
90 #include <xbase/xbexcept.h>
98 diff -up xbase-2.0.0/xbase/stack.cpp.gcc43 xbase-2.0.0/xbase/stack.cpp
99 --- xbase-2.0.0/xbase/stack.cpp.gcc43 2000-11-10 20:04:17.000000000 +0100
100 +++ xbase-2.0.0/xbase/stack.cpp 2008-03-11 20:31:16.000000000 +0100
105 -#include <iostream.h>
108 #include <xbase/xstack.h>
115 diff -up xbase-2.0.0/xbase/ndx.cpp.gcc43 xbase-2.0.0/xbase/ndx.cpp
116 --- xbase-2.0.0/xbase/ndx.cpp.gcc43 2001-03-21 01:28:53.000000000 +0100
117 +++ xbase-2.0.0/xbase/ndx.cpp 2008-03-11 20:21:20.000000000 +0100
121 #include <xbase/xbase.h>
122 -#include <iostream.h>
129 diff -up xbase-2.0.0/xbase/expfunc.cpp.gcc43 xbase-2.0.0/xbase/expfunc.cpp
130 --- xbase-2.0.0/xbase/expfunc.cpp.gcc43 2008-03-11 20:26:54.000000000 +0100
131 +++ xbase-2.0.0/xbase/expfunc.cpp 2008-03-11 20:26:54.000000000 +0100
133 #include <xbase/exp.h>
134 #include <xbase/xbexcept.h>
138 /*! \file expfunc.cpp
140 diff -up xbase-2.0.0/xbase/memo.cpp.gcc43 xbase-2.0.0/xbase/memo.cpp
141 --- xbase-2.0.0/xbase/memo.cpp.gcc43 2008-03-11 20:30:29.000000000 +0100
142 +++ xbase-2.0.0/xbase/memo.cpp 2008-03-11 20:30:40.000000000 +0100
145 #include <xbase/xbexcept.h>
152 diff -up xbase-2.0.0/xbase/xbfilter.cpp.gcc43 xbase-2.0.0/xbase/xbfilter.cpp
153 --- xbase-2.0.0/xbase/xbfilter.cpp.gcc43 2008-03-11 20:34:21.000000000 +0100
154 +++ xbase-2.0.0/xbase/xbfilter.cpp 2008-03-11 20:34:25.000000000 +0100
156 #include <xbase/xbase.h>
157 #include <xbase/xbexcept.h>
162 /*! \file xbfilter.cpp
165 diff -up xbase-2.0.0/xbase/html.h.gcc43 xbase-2.0.0/xbase/html.h
166 --- xbase-2.0.0/xbase/html.h.gcc43 2008-03-11 20:25:52.000000000 +0100
167 +++ xbase-2.0.0/xbase/html.h 2008-03-11 20:26:22.000000000 +0100
170 #include <xbase/xtypes.h>
177 @@ -92,28 +94,28 @@ public:
178 //! Short description.
181 - void BoldOff( void ) { cout << "</b>\n"; };
182 + void BoldOff( void ) { std::cout << "</b>\n"; };
183 //! Short description.
186 - void BoldOn( void ) { cout << "<b>"; };
187 + void BoldOn( void ) { std::cout << "<b>"; };
188 //! Short description.
191 - void Bullet( void ) { cout << "<li>"; };
192 + void Bullet( void ) { std::cout << "<li>"; };
193 void DumpArray( void );
194 //! Short description.
197 - void EmphasizeOff( void ) { cout << "</em>\n"; };
198 + void EmphasizeOff( void ) { std::cout << "</em>\n"; };
199 //! Short description.
202 - void EmphasizeOn( void ) { cout << "<em>"; };
203 + void EmphasizeOn( void ) { std::cout << "<em>"; };
204 //! Short description.
207 - void EndHtmlPage( void ) { cout << "</BODY>\n</HTML>\n"; }
208 + void EndHtmlPage( void ) { std::cout << "</BODY>\n</HTML>\n"; }
209 xbShort GenFormFields(xbDbf *d, xbShort Option,const char * Title,xbFieldList *fl);
210 xbShort GetArrayNo( const char * FieldName );
211 const char * GetCookie( const char *CookieName );
212 @@ -124,47 +126,47 @@ public:
213 //! Short description.
216 - void HeaderOff( xbShort i ){ cout << "</h" << i << ">\n"; };
217 + void HeaderOff( xbShort i ){ std::cout << "</h" << i << ">\n"; };
218 //! Short description.
221 - void HeaderOn( xbShort i ){ cout << "<h" << i << ">\n"; };
222 + void HeaderOn( xbShort i ){ std::cout << "<h" << i << ">\n"; };
223 //! Short description.
226 - void ItalicOff( void ) { cout << "</i>\n"; };
227 + void ItalicOff( void ) { std::cout << "</i>\n"; };
228 //! Short description.
231 - void ItalicOn( void ) { cout << "<i>"; };
232 + void ItalicOn( void ) { std::cout << "<i>"; };
233 //! Short description.
236 - void NewLine( void ) { cout << "<br>"; }
237 + void NewLine( void ) { std::cout << "<br>"; }
238 xbShort PostMethod( void );
239 void PrintEncodedChar( char );
240 void PrintEncodedString( const char *s );
241 //! Short description.
244 - void PrintHtml( char * s ) { cout << s; };
245 + void PrintHtml( char * s ) { std::cout << s; };
246 //! Short description.
249 - void PrintHtml( xbLong l ) { cout << l; };
250 + void PrintHtml( xbLong l ) { std::cout << l; };
251 //! Short description.
254 - void PrintHtml( xbShort i ) { cout << i; };
255 + void PrintHtml( xbShort i ) { std::cout << i; };
256 //! Short description.
259 - void PrintHtml( int i ) { cout << i; };
260 + void PrintHtml( int i ) { std::cout << i; };
261 void StartHtmlPage( const char *Title );
262 //! Short description.
265 - void StartTextPage( void ) { cout << "Content-type: text/plain\n\n"; }
266 + void StartTextPage( void ) { std::cout << "Content-type: text/plain\n\n"; }
267 void TextOut( const char *String );
268 xbLong Tally( const char *FileName );
269 xbShort SetCookie(const char *Name, const char *Value, const char *ExpDate,
270 diff -up xbase-2.0.0/xbase/dbf.h.gcc43 xbase-2.0.0/xbase/dbf.h
271 --- xbase-2.0.0/xbase/dbf.h.gcc43 2001-01-13 21:20:53.000000000 +0100
272 +++ xbase-2.0.0/xbase/dbf.h 2008-03-11 20:21:20.000000000 +0100
274 #include <xbase/xtypes.h>
275 #include <xbase/xdate.h>
277 -#include <iostream.h>
281 diff -up xbase-2.0.0/examples/sample1.cpp.gcc43 xbase-2.0.0/examples/sample1.cpp
282 --- xbase-2.0.0/examples/sample1.cpp.gcc43 2008-03-11 20:35:01.000000000 +0100
283 +++ xbase-2.0.0/examples/sample1.cpp 2008-03-11 20:36:40.000000000 +0100
286 #include <xbase/xbase.h>
290 /* set the stack large for dos compiles */
293 diff -up xbase-2.0.0/examples/sample2.cpp.gcc43 xbase-2.0.0/examples/sample2.cpp
294 --- xbase-2.0.0/examples/sample2.cpp.gcc43 2008-03-11 20:36:03.000000000 +0100
295 +++ xbase-2.0.0/examples/sample2.cpp 2008-03-11 20:36:41.000000000 +0100
298 #include <xbase/xbase.h>
302 /* set the stack large for dos compiles */
305 diff -up xbase-2.0.0/examples/sample5.cpp.gcc43 xbase-2.0.0/examples/sample5.cpp
306 --- xbase-2.0.0/examples/sample5.cpp.gcc43 2008-03-11 20:36:36.000000000 +0100
307 +++ xbase-2.0.0/examples/sample5.cpp 2008-03-11 20:36:40.000000000 +0100
310 #include <xbase/xbase.h>
314 /* set the stack large for dos compiles */
317 diff -up xbase-2.0.0/examples/sample4.cpp.gcc43 xbase-2.0.0/examples/sample4.cpp
318 --- xbase-2.0.0/examples/sample4.cpp.gcc43 2008-03-11 20:36:25.000000000 +0100
319 +++ xbase-2.0.0/examples/sample4.cpp 2008-03-11 20:36:47.000000000 +0100
322 #include <xbase/xbase.h>
328 extern unsigned _stklen = 100000;
329 diff -up xbase-2.0.0/examples/exfilter.cpp.gcc43 xbase-2.0.0/examples/exfilter.cpp
330 --- xbase-2.0.0/examples/exfilter.cpp.gcc43 2008-03-11 20:37:14.000000000 +0100
331 +++ xbase-2.0.0/examples/exfilter.cpp 2008-03-11 20:37:28.000000000 +0100
334 #include <xbase/xbase.h>
341 diff -up xbase-2.0.0/examples/sample3.cpp.gcc43 xbase-2.0.0/examples/sample3.cpp
342 --- xbase-2.0.0/examples/sample3.cpp.gcc43 2008-03-11 20:36:10.000000000 +0100
343 +++ xbase-2.0.0/examples/sample3.cpp 2008-03-11 20:36:46.000000000 +0100
346 #include <xbase/xbase.h>
351 /* set the stack large for dos compiles */
354 diff -up xbase-2.0.0/bin/undelall.cpp.gcc43 xbase-2.0.0/bin/undelall.cpp
355 --- xbase-2.0.0/bin/undelall.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
356 +++ xbase-2.0.0/bin/undelall.cpp 2008-03-11 20:40:33.000000000 +0100
359 #include <xbase/xbase.h>
364 int main(int ac,char** av)
367 diff -up xbase-2.0.0/bin/checkndx.cpp.gcc43 xbase-2.0.0/bin/checkndx.cpp
368 --- xbase-2.0.0/bin/checkndx.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
369 +++ xbase-2.0.0/bin/checkndx.cpp 2008-03-11 20:40:29.000000000 +0100
372 #include "xbase/xbase.h"
376 int main(int ac,char** av)
379 diff -up xbase-2.0.0/bin/packdbf.cpp.gcc43 xbase-2.0.0/bin/packdbf.cpp
380 --- xbase-2.0.0/bin/packdbf.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
381 +++ xbase-2.0.0/bin/packdbf.cpp 2008-03-11 20:40:32.000000000 +0100
384 #include <xbase/xbase.h>
389 int main(int ac,char** av)
392 diff -up xbase-2.0.0/bin/zap.cpp.gcc43 xbase-2.0.0/bin/zap.cpp
393 --- xbase-2.0.0/bin/zap.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
394 +++ xbase-2.0.0/bin/zap.cpp 2008-03-11 20:40:33.000000000 +0100
397 #include <xbase/xbase.h>
402 int main(int ac,char** av)
405 diff -up xbase-2.0.0/bin/reindex.cpp.gcc43 xbase-2.0.0/bin/reindex.cpp
406 --- xbase-2.0.0/bin/reindex.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
407 +++ xbase-2.0.0/bin/reindex.cpp 2008-03-11 20:40:32.000000000 +0100
410 #include <xbase/xbase.h>
416 showStatus(xbLong itemNum, xbLong numItems)
418 diff -up xbase-2.0.0/bin/copydbf.cpp.gcc43 xbase-2.0.0/bin/copydbf.cpp
419 --- xbase-2.0.0/bin/copydbf.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
420 +++ xbase-2.0.0/bin/copydbf.cpp 2008-03-11 20:40:29.000000000 +0100
423 #include <xbase/xbase.h>
427 int main(int ac,char** av)
430 diff -up xbase-2.0.0/bin/deletall.cpp.gcc43 xbase-2.0.0/bin/deletall.cpp
431 --- xbase-2.0.0/bin/deletall.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
432 +++ xbase-2.0.0/bin/deletall.cpp 2008-03-11 20:40:30.000000000 +0100
435 #include <xbase/xbase.h>
440 int main(int ac,char** av)
443 diff -up xbase-2.0.0/bin/dumphdr.cpp.gcc43 xbase-2.0.0/bin/dumphdr.cpp
444 --- xbase-2.0.0/bin/dumphdr.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
445 +++ xbase-2.0.0/bin/dumphdr.cpp 2008-03-11 20:40:31.000000000 +0100
448 #include <xbase/xbase.h>
453 int main( int ac, char ** av )
456 diff -up xbase-2.0.0/bin/dumprecs.cpp.gcc43 xbase-2.0.0/bin/dumprecs.cpp
457 --- xbase-2.0.0/bin/dumprecs.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
458 +++ xbase-2.0.0/bin/dumprecs.cpp 2008-03-11 20:40:31.000000000 +0100
460 #include <xbase/xbexcept.h>
466 int main(int ac,char** av)
469 diff -up xbase-2.0.0/bin/dumpdbt.cpp.gcc43 xbase-2.0.0/bin/dumpdbt.cpp
470 --- xbase-2.0.0/bin/dumpdbt.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
471 +++ xbase-2.0.0/bin/dumpdbt.cpp 2008-03-11 20:40:31.000000000 +0100
474 #include <xbase/xbase.h>
479 int main( int ac, char **av )
481 #ifdef XB_MEMO_FIELDS
482 diff -up xbase-2.0.0/bin/dbfxtrct.cpp.gcc43 xbase-2.0.0/bin/dbfxtrct.cpp
483 --- xbase-2.0.0/bin/dbfxtrct.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
484 +++ xbase-2.0.0/bin/dbfxtrct.cpp 2008-03-11 20:40:30.000000000 +0100
487 #include "xbase/xbase.h"
492 /*************************************************************************/
495 diff -up xbase-2.0.0/bin/dbfutil1.cpp.gcc43 xbase-2.0.0/bin/dbfutil1.cpp
496 --- xbase-2.0.0/bin/dbfutil1.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
497 +++ xbase-2.0.0/bin/dbfutil1.cpp 2008-03-11 20:41:22.000000000 +0100
500 #include <xbase/xbase.h>
509 diff -up xbase-2.0.0/libtest/indextst.cpp.gcc43 xbase-2.0.0/libtest/indextst.cpp
510 --- xbase-2.0.0/libtest/indextst.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
511 +++ xbase-2.0.0/libtest/indextst.cpp 2008-03-11 20:42:30.000000000 +0100
514 #include <xbase/xbase.h>
519 /* set the stack large for dos compiles */
522 diff -up xbase-2.0.0/libtest/exptest.cpp.gcc43 xbase-2.0.0/libtest/exptest.cpp
523 --- xbase-2.0.0/libtest/exptest.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
524 +++ xbase-2.0.0/libtest/exptest.cpp 2008-03-11 20:42:30.000000000 +0100
527 #include "xbase/xbase.h"
534 ExpTestor( xbDbf * );
535 diff -up xbase-2.0.0/libtest/locktest.cpp.gcc43 xbase-2.0.0/libtest/locktest.cpp
536 --- xbase-2.0.0/libtest/locktest.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
537 +++ xbase-2.0.0/libtest/locktest.cpp 2008-03-11 20:42:31.000000000 +0100
545 int main(int, char**)
547 #if 0 // FIXME - seriously
548 diff -up xbase-2.0.0/libtest/testdate.cpp.gcc43 xbase-2.0.0/libtest/testdate.cpp
549 --- xbase-2.0.0/libtest/testdate.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
550 +++ xbase-2.0.0/libtest/testdate.cpp 2008-03-11 20:42:32.000000000 +0100
553 #include <xbase/xbase.h>
560 xbString StringDate( "19601007" ); /* oct 7 1960 */
561 diff -up xbase-2.0.0/libtest/testhtml.cpp.gcc43 xbase-2.0.0/libtest/testhtml.cpp
562 --- xbase-2.0.0/libtest/testhtml.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
563 +++ xbase-2.0.0/libtest/testhtml.cpp 2008-03-11 20:42:33.000000000 +0100
566 #include <xbase/xbase.h>