pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35497: devel/acme fails to build with gcc4 on 4.0_BETA2
>Number: 35497
>Category: pkg
>Synopsis: devel/acme fails to build with gcc4 on 4.0_BETA2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 27 10:00:00 +0000 2007
>Originator: rosenfeld%grumpf.hope-2000.org@localhost
>Release: NetBSD 4.0_BETA2
>Organization:
>Environment:
System: NetBSD panic 4.0_BETA2 NetBSD 4.0_BETA2 (PANIC) #1: Sun Jan 7 15:45:57
CET 2007 woodstoc@panic:/usr/obj/sys/arch/i386/compile.i386/PANIC i386
Architecture: i386
Machine: i386
>Description:
When trying to build devel/acme with gcc4 on 4.0_BETA2 the following
error occurs:
context.h:46: error: array type has incomplete element type
>How-To-Repeat:
try to build devel/acme with gcc4 on 4.0_BETA2
>Fix:
--- context.h.orig 2001-03-22 18:34:46.000000000 +0100
+++ context.h 2006-09-22 11:37:27.000000000 +0200
@@ -11,6 +11,8 @@
#ifndef context_H
#define context_H
+#include "config.h"
+
/* Number of "global zone" */
#define ZONE_GLOBAL 0
@@ -42,8 +44,8 @@
extern zone Context_CurrentZone;/* current zone value */
extern zone Zone_Max;/* Highest zone number yet */
extern int nContext;/* Number of saved contexts */
-extern context Context[];
-extern byte pTitle[][];
+extern context Context[MAXCONTEXTS];
+extern byte pTitle[MAXCONTEXTS][LSMAX + 1];
extern int Context_CodeTable;/* Current translation table and its values */
enum {
CODETABLE_RAW,
Home |
Main Index |
Thread Index |
Old Index