bug-binutils
[Top][All Lists]
Advanced

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

bfd.h fails to compile on FreeBSD: error: unknown type name 'ENUM_BITFIE


From: Yuri
Subject: bfd.h fails to compile on FreeBSD: error: unknown type name 'ENUM_BITFIELD'
Date: Mon, 27 Feb 2023 17:20:44 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Where is ENUM_BITFIELD expected to come from?


Errors:

|| [ 50%] Building CXX object src/CMakeFiles/elf2llvm.dir/main.cpp.o
|| In file included from /home/yuri/binary-to-llvm/src/main.cpp:2:
/usr/local/include/bfd.h|2039 col 3| error: unknown type name 'ENUM_BITFIELD'
||   ENUM_BITFIELD (complain_overflow) complain_on_overflow:2;
||   ^
/usr/local/include/bfd.h|2039 col 36| error: expected ';' at end of declaration list
||   ENUM_BITFIELD (complain_overflow) complain_on_overflow:2;
||                                    ^


binutils-2.40

clang-14

FreeBSD 13.1


Yuri





reply via email to

[Prev in Thread] Current Thread [Next in Thread]