tech-toolchain 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



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