Fixes to BC++ compilation in mem debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,6 +5,7 @@ WXDIR = $(WXWIN)
|
|||||||
|
|
||||||
TARGET=mtest
|
TARGET=mtest
|
||||||
OBJECTS = $(TARGET).obj
|
OBJECTS = $(TARGET).obj
|
||||||
|
EXTRALIBS=$(WXDIR)\lib\gizmos.lib
|
||||||
|
|
||||||
!include $(WXDIR)\src\makeprog.b32
|
!include $(WXDIR)\src\makeprog.b32
|
||||||
|
|
||||||
|
@@ -9,8 +9,9 @@
|
|||||||
|
|
||||||
WXDIR = $(WXWIN)
|
WXDIR = $(WXWIN)
|
||||||
|
|
||||||
TARGET=minimal
|
TARGET=tree
|
||||||
OBJECTS = $(TARGET).obj
|
OBJECTS = $(TARGET).obj
|
||||||
|
EXTRALIBS=$(WXDIR)\lib\gizmos.lib
|
||||||
|
|
||||||
!include $(WXDIR)\src\makeprog.b32
|
!include $(WXDIR)\src\makeprog.b32
|
||||||
|
|
||||||
|
@@ -26,6 +26,10 @@
|
|||||||
|
|
||||||
#include <wx/wxexpr.h>
|
#include <wx/wxexpr.h>
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#else
|
#else
|
||||||
|
@@ -26,6 +26,10 @@
|
|||||||
|
|
||||||
#include <wx/wxexpr.h>
|
#include <wx/wxexpr.h>
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#else
|
#else
|
||||||
|
@@ -26,6 +26,10 @@
|
|||||||
|
|
||||||
#include <wx/wxexpr.h>
|
#include <wx/wxexpr.h>
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#else
|
#else
|
||||||
|
@@ -27,6 +27,10 @@
|
|||||||
|
|
||||||
#include <wx/wxexpr.h>
|
#include <wx/wxexpr.h>
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#else
|
#else
|
||||||
|
@@ -28,6 +28,10 @@
|
|||||||
|
|
||||||
#include <wx/types.h>
|
#include <wx/types.h>
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#else
|
#else
|
||||||
|
@@ -26,6 +26,10 @@
|
|||||||
|
|
||||||
#include <wx/wxexpr.h>
|
#include <wx/wxexpr.h>
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#include <fstream.h>
|
#include <fstream.h>
|
||||||
|
@@ -28,6 +28,10 @@
|
|||||||
|
|
||||||
#include <wx/types.h>
|
#include <wx/types.h>
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
#else
|
#else
|
||||||
|
@@ -18,10 +18,9 @@ S=$(SCINTILLA)\src
|
|||||||
|
|
||||||
STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
|
STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
|
||||||
|
|
||||||
LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
|
LIBTARGET=$(WXDIR)\lib\stc.lib
|
||||||
|
|
||||||
OBJECTS = \
|
OBJECTS = \
|
||||||
Accessor.obj \
|
|
||||||
AutoComplete.obj \
|
AutoComplete.obj \
|
||||||
CallTip.obj \
|
CallTip.obj \
|
||||||
CellBuffer.obj \
|
CellBuffer.obj \
|
||||||
@@ -56,6 +55,8 @@ OBJECTS = \
|
|||||||
|
|
||||||
!include $(WXDIR)\src\makelib.b32
|
!include $(WXDIR)\src\makelib.b32
|
||||||
|
|
||||||
|
all: stc.cfg $(LIBTARGET)
|
||||||
|
|
||||||
CFG = stc.cfg
|
CFG = stc.cfg
|
||||||
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
|
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
|
||||||
|
|
||||||
|
@@ -35,6 +35,10 @@
|
|||||||
#include "mondrian.xpm"
|
#include "mondrian.xpm"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef new
|
||||||
|
#undef new
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/ioswrap.h"
|
#include "wx/ioswrap.h"
|
||||||
|
|
||||||
#if wxUSE_IOSTREAMH
|
#if wxUSE_IOSTREAMH
|
||||||
|
@@ -18,10 +18,9 @@ S=$(SCINTILLA)\src
|
|||||||
|
|
||||||
STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
|
STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
|
||||||
|
|
||||||
LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
|
LIBTARGET=$(WXDIR)\lib\stc.lib
|
||||||
|
|
||||||
OBJECTS = \
|
OBJECTS = \
|
||||||
Accessor.obj \
|
|
||||||
AutoComplete.obj \
|
AutoComplete.obj \
|
||||||
CallTip.obj \
|
CallTip.obj \
|
||||||
CellBuffer.obj \
|
CellBuffer.obj \
|
||||||
@@ -56,6 +55,8 @@ OBJECTS = \
|
|||||||
|
|
||||||
!include $(WXDIR)\src\makelib.b32
|
!include $(WXDIR)\src\makelib.b32
|
||||||
|
|
||||||
|
all: stc.cfg $(LIBTARGET)
|
||||||
|
|
||||||
CFG = stc.cfg
|
CFG = stc.cfg
|
||||||
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
|
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user