Subject: pkg/23059: nbcompat.h may have syntax errors
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/04/2003 23:11:09
>Number:         23059
>Category:       pkg
>Synopsis:       nbcompat.h may have syntax errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 05 06:12:01 UTC 2003
>Release:        NetBSD 1.6.1_STABLE
I noticed that nbcompat.h has syntax errors under BSD/OS.
nbcompat.h has:

# define LLONG_MAX      0x7fffffffffffffffLL    /* max long long */


Building under BSD/OS, I get:

In file included from getopt_long.c:43:
nbcompat.h:484: syntax error
nbcompat.h:488: syntax error
*** Error code 1

Because of
#define   LLONG_MAX       (__extension__(9223372036854775807LL))


#define   ULLONG_MAX      (__extension__(0xffffffffffffffffULL))

#if !defined(VALUE)
#ifndef VALUE