Ignore:
Timestamp:
Feb 12, 2011, 2:32:22 AM (14 years ago)
Author:
イグトランス (egtra)
Message:

コンパイラのstdafx.h, .cppを32/64ビットで共通化。Windows SDKに含まれるライブラリ・ヘッダの除去。VC++ 2010 Express with WDKのATL環境で_SECURE_ATLがエラーを起こす問題の修正。4996警告の抑制pragmaを削除。ほか。

Location:
branches/egtra/ab5.0/abdev/BasicCompiler_Common
Files:
1 deleted
4 edited
2 moved

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/BasicCompiler_Common/BasicCompiler.cpp

    r801 r806  
    731731    if( program.IsClipCompileView() ){
    732732        //ProjectEditor埋め込み型インターフェイス
    733         hMainDlg=CreateDialog(hInst,MAKEINTRESOURCE(IDD_CLIPMAIN),hOwnerEditor,(DLGPROC)DlgCompile);
     733        hMainDlg=CreateDialog(hInst, MAKEINTRESOURCE(IDD_CLIPMAIN), hOwnerEditor, DlgCompile);
    734734        ShowWindow(hMainDlg,SW_SHOW);
    735735        SendMessage(hOwnerEditor,WM_SETCOMPILEVIEW,0,(LPARAM)hMainDlg);
     
    773773
    774774    //エラーリストをサブクラス化
    775     OldErrorListProc=(WNDPROC)GetWindowLongPtr(GetDlgItem(hMainDlg,IDC_ERRORLIST),GWLP_WNDPROC);
    776     SetWindowLongPtr(GetDlgItem(hMainDlg,IDC_ERRORLIST),GWLP_WNDPROC,(LONG_PTR)ErrorListProc);
     775    OldErrorListProc = reinterpret_cast<WNDPROC>(SetWindowLongPtr(GetDlgItem(hMainDlg, IDC_ERRORLIST), GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(ErrorListProc)));
    777776
    778777    //デバッグリストをサブクラス化
    779     OldDebugListProc=(WNDPROC)GetWindowLongPtr(GetDlgItem(hMainDlg,IDC_DEBUGLIST),GWLP_WNDPROC);
    780     SetWindowLongPtr(GetDlgItem(hMainDlg,IDC_DEBUGLIST),GWLP_WNDPROC,(LONG_PTR)DebugListProc);
     778    OldDebugListProc = reinterpret_cast<WNDPROC>(SetWindowLongPtr(GetDlgItem(hMainDlg, IDC_DEBUGLIST), GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(DebugListProc)));
    781779
    782780    if( program.IsKickedFromEditor() )
  • branches/egtra/ab5.0/abdev/BasicCompiler_Common/common.h

    r764 r806  
    11#pragma once
    22
    3 //#define _CRT_SECURE_NO_DEPRECATE
    4 #pragma warning(disable : 4996)
     3
     4#include <psapi.h>
    55
    66#include <option.h>
     
    1717
    1818#include "../BasicCompiler_Common/NonVolatile.h"
    19 #include "../BasicCompiler_Common/psapi.h"
    2019
    2120
     
    4241    #define PLATFORM    64
    4342#else
    44 #define PLATFORM    32
    45     #ifndef LONG_PTR
    46         typedef long LONG_PTR;
    47         typedef DWORD ULONG_PTR;
    48     #endif
     43    #define PLATFORM    32
    4944#endif
    5045
     
    221216
    222217//hash.cpp
    223 int hash_default(const char *name);
    224218DllProc *GetDeclareHash(const char *name);
    225219void GetOverloadSubHash( const char *lpszName, std::vector<const UserProc *> &subs );
  • branches/egtra/ab5.0/abdev/BasicCompiler_Common/hash.cpp

    r803 r806  
    1212
    1313using namespace ActiveBasic::Compiler;
    14 
    15 int hash_default(const char *name){
    16     int key;
    17 
    18     for(key=0;*name!='\0';name++){
    19         key=((key<<8)+ *name )%MAX_HASH;
    20     }
    21 
    22     return key;
    23 }
    2414
    2515DllProc *GetDeclareHash(const char *fullName){
  • branches/egtra/ab5.0/abdev/BasicCompiler_Common/src/BoostSerializationSupport.cpp

    r776 r806  
    1 #pragma warning(disable : 4996)
    2 
    31#include <map>
    42#include <string>
Note: See TracChangeset for help on using the changeset viewer.