NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/48835: compiler or assembler problem, shown by gdbm-1.11



The following reply was made to PR toolchain/48835; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: tech-toolchain%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/48835: compiler or assembler problem, shown by
 gdbm-1.11
Date: Fri, 23 May 2014 22:54:48 +0200

 On Fri, May 23, 2014 at 10:51:37PM +0200, Thomas Klausner wrote:
 > martin@ found the problem: gdbmtool.h defines ARG_MAX to 3. gdbmtool.c
 > includes gdbmtool.h and later sys/ioctl.h, which includes
 > sys/ttycom.h, which includes sys/syslimits.h, which defines ARG_MAX to
 > 256*1024.
 
 ARG_MAX is then used to define a struct
 struct foo bar[ARG_MAX][ARG_MAX] = { ... (9 elements here) };
 
 > Is this a namespace problem in NetBSD?
 >  Thomas
 > 
 


Home | Main Index | Thread Index | Old Index