From 2a49987a29270e14b5a9396b0ab3b7b4588770c3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 28 Apr 2008 23:01:03 +0000 Subject: Apparently there were a number of things that weren't strict ISO C++, the new version of gcc complained about them, none of these changes will break backward compatibility, so I fixed them. I added more docs too, it seems. --- src/tests/fstring.cpp | 2 +- src/tests/itoqueue1.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp index f4dfc52..43de18f 100644 --- a/src/tests/fstring.cpp +++ b/src/tests/fstring.cpp @@ -116,7 +116,7 @@ void doTimings() } #define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.getStr(), str.getStr(), (unsigned int)str2.getStr(), str2.getStr() ); -int main( int argc, char *argv ) +int main( int argc, char *argv[] ) { Bu::FString fs1; for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26)); diff --git a/src/tests/itoqueue1.cpp b/src/tests/itoqueue1.cpp index 58c1602..41a0276 100644 --- a/src/tests/itoqueue1.cpp +++ b/src/tests/itoqueue1.cpp @@ -8,6 +8,7 @@ #include #include "bu/ito.h" #include "bu/itoqueue.h" +#include class Reader : public Bu::Ito { -- cgit v1.2.3