Fixed: Warnings with GGC 6

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-04 17:12:58 +01:00
parent 1a338b3462
commit f17bd720b1

View file

@ -320,7 +320,7 @@ inline ucstring capitalize(const ucstring & s)
public:\ public:\
virtual void displayEntry(NLMISC::CLog& log) const\ virtual void displayEntry(NLMISC::CLog& log) const\
{\ {\
log.displayNL(">>"__FILE__":%d",__LINE__);\ log.displayNL(">>" __FILE__ ":%d", __LINE__);\
}\ }\
}\ }\
__callStackEntry##__LINE__; __callStackEntry##__LINE__;
@ -331,7 +331,7 @@ inline ucstring capitalize(const ucstring & s)
public:\ public:\
virtual void displayEntry(NLMISC::CLog& log) const\ virtual void displayEntry(NLMISC::CLog& log) const\
{\ {\
log.displayNL(">>"__FILE__":%d: %s",__LINE__,msg);\ log.displayNL(">>" __FILE__ ":%d: %s", __LINE__,msg);\
}\ }\
}\ }\
__callStackEntry##__LINE__; __callStackEntry##__LINE__;
@ -345,7 +345,7 @@ inline ucstring capitalize(const ucstring & s)
}\ }\
virtual void displayEntry(NLMISC::CLog& log) const\ 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;\ const type _Val;\
}\ }\
@ -360,7 +360,7 @@ inline ucstring capitalize(const ucstring & s)
}\ }\
virtual void displayEntry(NLMISC::CLog& log) const\ 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;\ const type& _Var;\
}\ }\