mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-12 16:15:16 +08:00
It is been discovered that on gcc-4.8.4 compiler can't properly evaluate __builtin_constant_p. | gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 | | In file included from asm/nasm.c:38:0: | asm/nasm.c: In function ‘assemble_file’: | ./include/compiler.h:377:27: error: first argument to ‘__builtin_choose_expr’ not a constant | # define if_constant(x,y) __builtin_choose_expr(is_constant(x),(x),(y)) | ^ | ./include/nasmlib.h:145:23: note: in expansion of macro ‘if_constant’ | static_assert(if_constant(x, 1), #x); \ | ^ | ./include/nasmlib.h:167:9: note: in expansion of macro ‘nasm_try_static_assert’ | nasm_try_static_assert(x); \ | ^ | asm/nasm.c:1544:17: note: in expansion of macro ‘nasm_assert’ | nasm_assert(output_ins.times >= 0); | Zap it for 4.x series so we could run our tests. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> |
||
---|---|---|
.. | ||
bytesex.h | ||
compiler.h | ||
disp8.h | ||
error.h | ||
hashtbl.h | ||
iflag.h | ||
ilog2.h | ||
insns.h | ||
labels.h | ||
md5.h | ||
nasm.h | ||
nasmint.h | ||
nasmlib.h | ||
nctype.h | ||
opflags.h | ||
perfhash.h | ||
raa.h | ||
rbtree.h | ||
rdoff.h | ||
saa.h | ||
strlist.h | ||
tables.h | ||
ver.h |