From f71e97568a42e9800bb3a84b8e7baf701bfa5d8d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 22 Jan 2002 01:44:29 +0000 Subject: [PATCH] * Makefile.in (CXXFLAGS): Add -fno-exceptions. * win32.h (alloca): Define as __builtin_alloca. * io_stream_memory.cc: Add include file. --- ChangeLog | 6 ++++++ Makefile.in | 2 +- io_stream_memory.cc | 1 + win32.h | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef5f4b3b..35e27033 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-01-21 Christopher Faylor + + * Makefile.in (CXXFLAGS): Add -fno-exceptions. + * win32.h (alloca): Define as __builtin_alloca. + * io_stream_memory.cc: Add include file. + 2002-01-21 Robert Collins * archive_tar.cc (archive_tar::~archive_tar): Mark the stream as destroyed. diff --git a/Makefile.in b/Makefile.in index 07e1d040..c9f684d7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -45,7 +45,7 @@ CXX := @CXX@ CFLAGS := @CFLAGS@ $(MC_DEFS) -Werror -Winline -Wall -Wpointer-arith \ -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wcomments -CXXFLAGS := @CXXFLAGS@ $(CFLAGS) -fno-rtti +CXXFLAGS := @CXXFLAGS@ $(CFLAGS) -fno-rtti -fno-exceptions CXX := @CXX@ WINDRES := @WINDRES@ diff --git a/io_stream_memory.cc b/io_stream_memory.cc index d66ea5cb..16a4331f 100644 --- a/io_stream_memory.cc +++ b/io_stream_memory.cc @@ -20,6 +20,7 @@ static const char *cvsid = #include #include +#include #include #include diff --git a/win32.h b/win32.h index 23c6d4c8..3a06d397 100644 --- a/win32.h +++ b/win32.h @@ -32,6 +32,7 @@ /* We want a minimum IE version of 3 */ #define _WIN32_IE 0x0300 #include +#define alloca __builtin_alloca #include #include -- 2.43.5