Ignore:
Timestamp:
Mar 23, 2008, 10:38:38 AM (16 years ago)
Author:
dai_9181
Message:

・Compiler::IsDebugメソッドを導入した(bDebugCompileグローバル変数は廃止)。
・bStrictグローバル変数は意味を成さないので廃止した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Source.cpp

    r402 r459  
    105105//////////////////////////////////////
    106106
    107 CDefine::CDefine( int majorVer ){
     107CDefine::CDefine( int majorVer )
     108{
    108109    Init( majorVer );
    109110}
    110 CDefine::~CDefine(){
    111 }
    112 void CDefine::Init( int majorVer ){
     111CDefine::~CDefine()
     112{
     113}
     114void CDefine::Init( int majorVer )
     115{
    113116    names.clear();
    114117
    115     extern BOOL bDebugCompile;
    116     if(bDebugCompile) add("_DEBUG");
     118    if( compiler.IsDebug() )
     119    {
     120        add("_DEBUG");
     121    }
    117122
    118123#ifdef _AMD64_
     
    120125#endif
    121126
    122     if( compiler.IsDll() ){
     127    if( compiler.IsDll() )
     128    {
    123129        add("_DLL");
    124130    }
    125131
    126     if( Smoothie::IsUnicode() ){
     132    if( Smoothie::IsUnicode() )
     133    {
    127134        add( "UNICODE" );
    128135    }
Note: See TracChangeset for help on using the changeset viewer.