Fixed: Warnings with GGC 6

This commit is contained in:
kervala 2016-12-04 17:12:58 +01:00
parent 26e76f796a
commit bd58acdf86

View file

@ -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;\
}\