Current-Users archive

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

Re: reallocarr.c compile errors



On Tue, Jul 28, 2015 at 04:19:14PM +0200, Kamil Rytarowski wrote:
> 
> Please try to add:
> #if HAVE_NBTOOL_CONFIG_H
> #include "nbtool_config.h"
> #endif
> 

The first error went away but the CTASSERT remains:

#   compile  compat/reallocarr.lo
cc -O  -I. -I./include -I/home/scole/nbsd/src/tools/compat -I/home/scole/nbsd/src/tools/compat/sys  -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o reallocarr.lo.o    /home/scole/nbsd/src/tools/compat/../../lib/libc/stdlib/reallocarr.c
/home/scole/nbsd/src/tools/compat/../../lib/libc/stdlib/reallocarr.c:46:12: error: expected declaration specifiers or '...' before numeric constant
 __CTASSERT(65535 < SIZE_MAX / 65535);

Thanks


Home | Main Index | Thread Index | Old Index