From bd58acdf865b4d11d57e4fd58b4137154e51d35e Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 4 Dec 2016 17:12:58 +0100 Subject: [PATCH] Fixed: Warnings with GGC 6 --- code/ryzom/common/src/game_share/utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ryzom/common/src/game_share/utils.h b/code/ryzom/common/src/game_share/utils.h index 96099a466..c4c0fe26f 100644 --- a/code/ryzom/common/src/game_share/utils.h +++ b/code/ryzom/common/src/game_share/utils.h @@ -320,7 +320,7 @@ inline ucstring capitalize(const ucstring & s) public:\ virtual void displayEntry(NLMISC::CLog& log) const\ {\ - log.displayNL(">>"__FILE__":%d",__LINE__);\ + log.displayNL(">>" __FILE__ ":%d", __LINE__);\ }\ }\ __callStackEntry##__LINE__; @@ -331,7 +331,7 @@ inline ucstring capitalize(const ucstring & s) public:\ virtual void displayEntry(NLMISC::CLog& log) const\ {\ - log.displayNL(">>"__FILE__":%d: %s",__LINE__,msg);\ + log.displayNL(">>" __FILE__ ":%d: %s", __LINE__,msg);\ }\ }\ __callStackEntry##__LINE__; @@ -345,7 +345,7 @@ inline ucstring capitalize(const ucstring & s) }\ virtual void displayEntry(NLMISC::CLog& log) const\ {\ - log.displayNL(">>"__FILE__":%d: %s=[%s]",__LINE__,#var,NLMISC::toString(_Val).c_str());\ + log.displayNL(">>" __FILE__ ":%d: %s=[%s]", __LINE__, #var, NLMISC::toString(_Val).c_str());\ }\ const type _Val;\ }\ @@ -360,7 +360,7 @@ inline ucstring capitalize(const ucstring & s) }\ virtual void displayEntry(NLMISC::CLog& log) const\ {\ - log.displayNL(">>"__FILE__":%d: %s=>[%s]",__LINE__,#var,NLMISC::toString(_Var).c_str());\ + log.displayNL(">>" __FILE__ ":%d: %s=>[%s]", __LINE__, #var, NLMISC::toString(_Var).c_str());\ }\ const type& _Var;\ }\