From: <ped...@us...> - 2009-12-12 14:31:14
|
Revision: 1410 http://cegcc.svn.sourceforge.net/cegcc/?rev=1410&view=rev Author: pedroalves Date: 2009-12-12 14:30:58 +0000 (Sat, 12 Dec 2009) Log Message: ----------- 2009-12-12 Pedro Alves <ped...@us...> * Makefile (TARGET): Default to arm-mingw32ce. * PipeDev.cpp (LOG, LOGSCOPE): Avoid empty statement. Modified Paths: -------------- trunk/cegcc/tools/PipeLib/ChangeLog trunk/cegcc/tools/PipeLib/Makefile trunk/cegcc/tools/PipeLib/PipeDev.cpp Modified: trunk/cegcc/tools/PipeLib/ChangeLog =================================================================== --- trunk/cegcc/tools/PipeLib/ChangeLog 2009-12-12 14:28:28 UTC (rev 1409) +++ trunk/cegcc/tools/PipeLib/ChangeLog 2009-12-12 14:30:58 UTC (rev 1410) @@ -1,3 +1,8 @@ +2009-12-12 Pedro Alves <ped...@us...> + + * Makefile (TARGET): Default to arm-mingw32ce. + * PipeDev.cpp (LOG, LOGSCOPE): Avoid empty statement. + 2007-09-02 Pedro Alves <ped...@po...> * PipeLib.cpp (Read): Switch to IsBadWritePtr. Only set last Modified: trunk/cegcc/tools/PipeLib/Makefile =================================================================== --- trunk/cegcc/tools/PipeLib/Makefile 2009-12-12 14:28:28 UTC (rev 1409) +++ trunk/cegcc/tools/PipeLib/Makefile 2009-12-12 14:30:58 UTC (rev 1410) @@ -1,4 +1,4 @@ -TARGET=arm-wince-mingw32ce +TARGET=arm-mingw32ce CXX=$(TARGET)-g++ AR=$(TARGET)-ar Modified: trunk/cegcc/tools/PipeLib/PipeDev.cpp =================================================================== --- trunk/cegcc/tools/PipeLib/PipeDev.cpp 2009-12-12 14:28:28 UTC (rev 1409) +++ trunk/cegcc/tools/PipeLib/PipeDev.cpp 2009-12-12 14:30:58 UTC (rev 1410) @@ -112,8 +112,8 @@ # define LOG(MSG, ...) LogMessage (__FUNCTION__, __LINE__, MSG, ## __VA_ARGS__) # define LOGSCOPE(MSG) LogScope scope ## __LINE__(__FUNCTION__, MSG) #else -# define LOG(MSG, ...) do; while (0) -# define LOGSCOPE(MSG) do; while (0) +# define LOG(MSG, ...) do {} while (0) +# define LOGSCOPE(MSG) do {} while (0) #endif class CSWrapper This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |