Closed
Bug 1842937
Opened 2 years ago
Closed 2 years ago
[hppa] dist/public/dbm/mcom_db.h:114:0: error: "BYTE_ORDER" redefined [-Werror]
Categories
(NSS :: Libraries, defect)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
(Forwarded from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808990 ; This is a very old bug)
cc -o OBJS/db.o -c -g -O2 -Wformat -Werror=format-security -Wall -pipe -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1 -Wall -Werror -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DMEMMOVE -D__DBINTERFACE_PRIVATE -I/usr/include/nspr -I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/dbm -I/<<PKGBUILDDIR>>/dist/private/dbm db.c
In file included from db.c:50:0:
/<<PKGBUILDDIR>>/dist/public/dbm/mcom_db.h:114:0: error: "BYTE_ORDER" redefined [-Werror]
#define BYTE_ORDER BIG_ENDIAN
^
In file included from /usr/include/hppa-linux-gnu/sys/types.h:216:0,
from db.c:42:
/usr/include/endian.h:48:0: note: this is the location of the previous definition
# define BYTE_ORDER __BYTE_ORDER
^
In file included from db.c:50:0:
/<<PKGBUILDDIR>>/dist/public/dbm/mcom_db.h:115:0: error: "BIG_ENDIAN" redefined [-Werror]
#define BIG_ENDIAN 4321
^
In file included from /usr/include/hppa-linux-gnu/sys/types.h:216:0,
from db.c:42:
/usr/include/endian.h:46:0: note: this is the location of the previous definition
# define BIG_ENDIAN __BIG_ENDIAN
^
Assignee | ||
Comment 1•2 years ago
|
||
There is a Linux-specific block above that includes endian.h, which
defines those.
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:beurdouche, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(bbeurdouche)
Comment 3•2 years ago
|
||
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(bbeurdouche)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•