From: <laz...@us...> - 2004-02-28 07:56:53
|
Update of /cvsroot/rtk/rtk/test/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17692/test/core Modified Files: string0.cpp vector0.cpp Log Message: - Fixed string stuff for W32..... - printf convert defined as macro and uses alloca now PLEASE do not ANY GNU GCC specific code, e.g. in test.h PRINTF macro.. There's no way in this world compile vector test.. So, I changed PRINTF macro to what MS VCPP support, though no idea about gcc... Index: string0.cpp =================================================================== RCS file: /cvsroot/rtk/rtk/test/core/string0.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** string0.cpp 23 Feb 2004 20:16:43 -0000 1.10 --- string0.cpp 28 Feb 2004 07:39:44 -0000 1.11 *************** *** 110,115 **** #if UNICODE // Now small cyrillic test - "Best regards to all RTK fans" ! String sCyr = L"ÐоздÑав Ñвим ÑÑбиÑеÑима RTK-а\n"; ! wprintf(sCyr.c_str()); #endif --- 110,115 ---- #if UNICODE // Now small cyrillic test - "Best regards to all RTK fans" ! //String sCyr = L"ÐоздÑав Ñвим ÑÑбиÑеÑима RTK-а\n"; ! //wprintf(sCyr.c_str()); #endif *************** *** 117,120 **** --- 117,121 ---- } + #if 0 // This is dummy function // Just to check declarations of functions at compile time *************** *** 151,160 **** // scanf's ! rfscanf(0,0,0); rsscanf(0,0); rscanf(0,0); rvfscanf(0,0,0); rvsscanf(0,0,0); ! rvscanf(0,0); // File --- 152,161 ---- // scanf's ! /*rfscanf(0,0,0); rsscanf(0,0); rscanf(0,0); rvfscanf(0,0,0); rvsscanf(0,0,0); ! rvscanf(0,0);*/ // File *************** *** 201,207 **** rtolower(0); rtoupper(0); ! rstrlwr(0); ! rstrupr(0); } /** --- 202,209 ---- rtolower(0); rtoupper(0); ! //rstrlwr(0); ! //rstrupr(0); } + #endif /** Index: vector0.cpp =================================================================== RCS file: /cvsroot/rtk/rtk/test/core/vector0.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** vector0.cpp 26 Feb 2004 21:52:27 -0000 1.2 --- vector0.cpp 28 Feb 2004 07:39:44 -0000 1.3 *************** *** 1,4 **** - #include <rtk/Vector.h> #include <rtk/TVector.h> #include "../test.h" --- 1,4 ---- #include <rtk/TVector.h> + #include "../test.h" *************** *** 13,18 **** { public: ! A() { PRINTF(_R("A::A\n")); } ! ~A() { PRINTF(_R("A::~A\n")); } }; --- 13,22 ---- { public: ! A() { ! PRINTF( (_R("A::A\n")) ); ! } ! ~A() { ! PRINTF( (_R("A::~A\n")) ); ! } }; |