diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-04-28 23:01:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-04-28 23:01:03 +0000 |
commit | 2a49987a29270e14b5a9396b0ab3b7b4588770c3 (patch) | |
tree | edb5cb767632323ef288451f38d669e0b2feba4e /src/tests/fstring.cpp | |
parent | d416848a9c212bf0503ec5b9de4cd23449ecd73c (diff) | |
download | libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.gz libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.bz2 libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.xz libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/tests/fstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() | |||
116 | } | 116 | } |
117 | 117 | ||
118 | #define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.getStr(), str.getStr(), (unsigned int)str2.getStr(), str2.getStr() ); | 118 | #define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.getStr(), str.getStr(), (unsigned int)str2.getStr(), str2.getStr() ); |
119 | int main( int argc, char *argv ) | 119 | int main( int argc, char *argv[] ) |
120 | { | 120 | { |
121 | Bu::FString fs1; | 121 | Bu::FString fs1; |
122 | for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26)); | 122 | for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26)); |