NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/53880: nameser_compat.h contains an old, outdated endian.h
>Number: 53880
>Category: toolchain
>Synopsis: nameser_compat.h contains an old, outdated endian.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 16 04:15:00 +0000 2019
>Originator: coypu
>Release: NetBSD 8.99.25
>Organization:
>Environment:
NetBSD 8.99.25 powerpc (not mine)
>Description:
This showed up as a spurious error in a package that included nameser_compat.h first, before anything else
ftp://malus.urc.uninett.no/reports/2018Q3/20181111.1138/loudmouth-1.5.3/build.log
In file included from lm-resolver.c:25:0:
/usr/include/arpa/nameser_compat.h:85:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
error "Undefined or invalid BYTE_ORDER";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alternative idea, replace block by another header providing _BYTE_ORDER.
Most minimal one is <machine/endian_machdep.h> but <endian.h> should be standard now.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index