From c6336d621eada93be26c43330384b07cb01adeaf Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Wed, 14 Jan 2009 09:01:18 -0800 Subject: [PATCH] Allow building with gcc-4.4 With this small patch, building succeeds with Debian's current gcc-snapshot, gcc (Debian 20090107-1) 4.4.0 20090107 (experimental) [trunk revision 143170] That build shows no regressions in the test suite. The patch does not break building, or show test suite regressions, with gcc-4.3. That new gcc version still emits a pile of new and arguably bogus warnings "dereferencing pointer '' does break strict-aliasing rules" for elaborate.cc:3422 StringHeap.h:31 vvp/vvp_net.h:687 (really vvp/vvp_net.h:825) --- t-dll-api.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/t-dll-api.cc b/t-dll-api.cc index 10b51e8ee..1fe27f94c 100644 --- a/t-dll-api.cc +++ b/t-dll-api.cc @@ -22,6 +22,7 @@ # include "t-dll.h" # include "discipline.h" # include +# include # include #ifdef HAVE_MALLOC_H # include