Subject: port-sparc/6002: (void) in NTOHL causes problems
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chopps@merit.edu>
List: netbsd-bugs
Date: 08/21/1998 10:53:50
>Number: 6002
>Category: port-sparc
>Synopsis: (void) in NTOHL causes problems
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 21 08:05:00 1998
>Last-Modified:
>Originator: Christian E. Hopps
>Organization:
Merit Network, Inc.
>Release: NetBSD 1.3
>Environment:
System: NetBSD feeble.merit.edu 1.3 NetBSD 1.3 (GENERIC) #0: Thu Jan 1 18:26:28 MET 1998 pk@flambard:/usr/src1/sys/arch/sparc/compile/GENERIC sparc
>Description:
The ``(void) (x)'' definition for NTOHL and friends kills code of
the following type.
metric = NTOHL(tosmet32);
>How-To-Repeat:
>Fix:
Perhaps using ``((x) = (x))''.
>Audit-Trail:
>Unformatted: