diff options
author | nyamatongwe <unknown> | 2003-04-20 02:19:22 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-20 02:19:22 +0000 |
commit | 322af7e5c3975f7f99bb0db331cd89941aba5aed (patch) | |
tree | 34b6c6e57a951e49ae18facee683221cf7c29cae | |
parent | befd95e4a24fb2cd2720efdcfaaca38cdd42411c (diff) | |
download | scintilla-mirror-322af7e5c3975f7f99bb0db331cd89941aba5aed.tar.gz |
Command line definition can turn off thunks option and avoid warning on
gcc 3.x.
-rw-r--r-- | win32/makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/win32/makefile b/win32/makefile index 0e9f3564a..794715483 100644 --- a/win32/makefile +++ b/win32/makefile @@ -13,6 +13,10 @@ DLLWRAP = dllwrap COMPONENT = ../bin/Scintilla.dll LEXCOMPONENT = ../bin/SciLexer.dll +ifndef NOTHUNKS +THUNKFLAGS=-fvtable-thunks +endif + vpath %.h ../src ../include vpath %.cxx ../src @@ -20,7 +24,7 @@ LDFLAGS=-mwindows -lstdc++ -limm32 -lole32 -luuid # Add -MMD to get dependencies #CXXFLAGS = -g -pg -pedantic -Os -fno-exceptions -fvtable-thunks -fno-rtti INCLUDEDIRS=-I ../include -I ../src -CXXBASEFLAGS = -W -Wall -pedantic $(INCLUDEDIRS) -Os -fno-exceptions -fvtable-thunks -fno-rtti +CXXBASEFLAGS = -W -Wall -pedantic $(INCLUDEDIRS) -Os -fno-exceptions $(THUNKFLAGS) -fno-rtti ifdef DEBUG CXXFLAGS=-DDEBUG $(CXXBASEFLAGS) @@ -45,7 +49,7 @@ LEXOBJS=\ LexAda.o LexAsm.o LexAVE.o LexBaan.o LexBullant.o LexConf.o LexCPP.o \ LexCrontab.o LexCSS.o LexEiffel.o LexFortran.o LexHTML.o LexLisp.o LexLua.o \ LexMatlab.o LexOthers.o LexPascal.o LexPerl.o LexPOV.o LexPython.o LexRuby.o \ -LexSQL.o LexVB.o +LexSQL.o LexVB.o #--Autogenerated -- end of automatically generated section SOBJS = ScintillaWin.o ScintillaBase.o Editor.o Document.o \ |