nasm/include
H. Peter Anvin (Intel) 44e89ba9b6 compiler.h: drop the stupid C++-style cast-to-bool hack
The C++-style cast-to-bool hack was broken in concept that it doesn't help the
fundamental problem -- implicit conversions are broken for the
backwards compatibility enum definition -- as well as in
implementation, as it misspelled __STDC_VERSION__ as __STDC_VERSION.

The #ifdef bool test *should* have prevented this problem, but
apparently several compilers do define "bool" in <stdbool.h> even when
it is a keyword, in violation of the C23 spec.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2025-10-12 12:48:32 -07:00
..
bytesex.h bytesex.h: fix typo in le32toh function name 2025-10-04 15:54:49 -07:00
compiler.h compiler.h: drop the stupid C++-style cast-to-bool hack 2025-10-12 12:48:32 -07:00
dbginfo.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
disp8.h fix a displacement offset calculation error for movddup 2025-10-07 14:35:45 +08:00
error.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
hashtbl.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
iflag.h WIP: more matching and template work 2024-08-20 12:59:07 -07:00
ilog2.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
insns.h ndisasm: make the assembler (hopefully) work again 2025-08-30 16:16:43 -07:00
labels.h labels: make the prefix/suffix options and pragmas consistent 2025-10-07 18:46:39 -07:00
macros.h portability: "const macros_t" is redundant 2025-10-01 13:55:38 -07:00
md5.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
nasm.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
nasmint.h nasmint.h: change header guards to NASM_NASMINT_H 2016-10-04 18:11:57 -07:00
nasmlib.h nasmlib.h: protect list_last() macro against misuse 2025-10-06 14:27:30 -07:00
nctype.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
opflags.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
perfhash.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
raa.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
rbtree.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
rdoff.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
saa.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
strlist.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
tables.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00
ver.h treewide: replace verbose copyright headers with SPDX tags 2025-10-01 11:45:31 -07:00