commit 2025-10-10 20:45 edit by g++ option -Wall -Wno-unused-function -Wno-misleading-indentation
This commit is contained in:
@ -194,6 +194,7 @@
|
||||
#include <climits>
|
||||
#include <typeinfo>
|
||||
#include <wchar.h>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
#define _CODE_OLD_ 0
|
||||
@ -856,7 +857,7 @@ namespace ZNsMain
|
||||
const TTyChar* ZApcLeft , TTyiLength ZAiLenLeft ,
|
||||
const TTyChar* ZApcRight, TTyiLength zAiLenRight
|
||||
)
|
||||
/*######################################################################*/
|
||||
########################################################################*/
|
||||
|
||||
|
||||
/* 어떤 변수를 강제적으로 참조로 인식하게 하는 클래스. 인수를 참조로
|
||||
@ -3773,7 +3774,7 @@ namespace ZNsMain
|
||||
|
||||
template<typename TLong> TLong ZfABS(TLong AL_Value)
|
||||
{
|
||||
if(AL_Value<0) return -AL_Value; return AL_Value;
|
||||
if(AL_Value<0){return -AL_Value;} return AL_Value;
|
||||
}/*
|
||||
template<typename TLong> TLong ZfABS(TLong AL_Value) */
|
||||
|
||||
@ -3818,7 +3819,7 @@ namespace ZNsMain
|
||||
|
||||
inline ZTypLLong ZfAtoLL(const char* ApcChar)
|
||||
{
|
||||
if(ApcChar==0) return 0; return ::atoll(ApcChar);
|
||||
if(ApcChar==0){ return 0;} return ::atoll(ApcChar);
|
||||
}/*
|
||||
inline ZTypLLong ZfAtoLL(const char* ApcChar)*/
|
||||
|
||||
@ -3834,7 +3835,7 @@ namespace ZNsMain
|
||||
|
||||
inline ZTypLong ZfAtoL(const char* ApcChar)
|
||||
{
|
||||
if(ApcChar==0) return 0; return ::atol(ApcChar);
|
||||
if(ApcChar==0){return 0;} return ::atol(ApcChar);
|
||||
}/*
|
||||
inline ZTypLong ZfAtoL(const char* ApcChar)*/
|
||||
|
||||
@ -3847,7 +3848,7 @@ namespace ZNsMain
|
||||
|
||||
inline ZTypIntI ZfAtoI(const char* ApcChar)
|
||||
{
|
||||
if(ApcChar==0) return 0; return ::atoi(ApcChar);
|
||||
if(ApcChar==0){return 0;} return ::atoi(ApcChar);
|
||||
}/*
|
||||
inline ZTypIntI ZfAtoI(const char* ApcChar)*/
|
||||
|
||||
@ -4966,7 +4967,7 @@ namespace ZNsMain
|
||||
}/*
|
||||
if((VL_ErrCode = ::WaitForSingleObject(mh_Mutex, INFINITE))==WAIT_ABANDONED)*/
|
||||
}/*
|
||||
void Lock() /*throw(ZCExceptSmallLock&)*/
|
||||
void Lock() //throw(ZCExceptSmallLock&)*/
|
||||
|
||||
void UnLock()
|
||||
{
|
||||
@ -6777,7 +6778,7 @@ namespace ZNsMain
|
||||
TypeSize AI_CutSize, TypeThis& rhs ,
|
||||
ZCLinkOpt AO_LinkOpt, bool AB_After
|
||||
)
|
||||
/*#####################################################################*/
|
||||
#######################################################################*/
|
||||
|
||||
|
||||
ZtCBaseList& SendRangeOutAfter //////////////////////////////////////////
|
||||
@ -6815,7 +6816,7 @@ namespace ZNsMain
|
||||
ZCLink& AR_CutHead, ZCLink& AR_CutTail,
|
||||
TypeSize AI_CutSize, TypeThis& rhs , ZCLinkOpt AO_LinkOpt
|
||||
)
|
||||
/*#####################################################################*/
|
||||
#######################################################################*/
|
||||
|
||||
|
||||
TypeThis& CopyThis(TypeThis& ARR_Rhs) const
|
||||
@ -7630,7 +7631,7 @@ namespace ZNsMain
|
||||
};/*
|
||||
template< typename TTypeChar, typename TTypeLength=ZTypLength
|
||||
>
|
||||
class ZtCChars /**#########################################*/
|
||||
class ZtCChars ############################################*/
|
||||
|
||||
|
||||
typedef ZtCChars<char > ZCChars ;
|
||||
@ -7806,17 +7807,17 @@ namespace ZNsMain
|
||||
|
||||
virtual void Log(const char* APC_LogData, ZTypLength AI_Length)
|
||||
{
|
||||
__for0(ZTypLength, i, AI_Length){cout<<APC_LogData[i];}
|
||||
__for0(ZTypLength, i, AI_Length){std::cout<<APC_LogData[i];}
|
||||
}/*
|
||||
virtual void Log(const char* APC_LogData, ZTypLength AI_Length)*/
|
||||
|
||||
virtual void Log(const char* APC_LogData)
|
||||
{ cout<<APC_LogData; }
|
||||
{ std::cout<<APC_LogData; }
|
||||
|
||||
virtual void Log(int AI_LogData){ cout<<AI_LogData; }
|
||||
virtual void Log(long AL_LogData){ cout<<AL_LogData; }
|
||||
virtual void Log(double AD_LogData){ cout<<AD_LogData; }
|
||||
virtual void Log(char AC_LogData){ cout<<AC_LogData; }
|
||||
virtual void Log(int AI_LogData){ std::cout<<AI_LogData; }
|
||||
virtual void Log(long AL_LogData){ std::cout<<AL_LogData; }
|
||||
virtual void Log(double AD_LogData){ std::cout<<AD_LogData; }
|
||||
virtual void Log(char AC_LogData){ std::cout<<AC_LogData; }
|
||||
virtual void Log(bool AB_LogData)
|
||||
{
|
||||
cout<<(AB_LogData ? "true" : "false");
|
||||
|
Reference in New Issue
Block a user