diff options
author | Peter Johnson <peter@tortall.net> | 2015-11-06 20:15:04 -0800 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2015-11-06 20:15:04 -0800 |
commit | 51af4082cc898b122b88f11fd34033fc00fad81e (patch) | |
tree | 13fbd0bbceade448ca8bf26f4bd2d95d80e37288 /modules/arch | |
parent | 0efd093199b725ede61737d19f4a411ed310a3aa (diff) | |
download | yasm-51af4082cc898b122b88f11fd34033fc00fad81e.tar.gz |
Added -Wno-segreg-in-64bit.
This allows suppressing the annoying 'segment register ignored in 64-bit mode'
warning.
Diffstat (limited to 'modules/arch')
-rw-r--r-- | modules/arch/x86/x86regtmod.gperf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/arch/x86/x86regtmod.gperf b/modules/arch/x86/x86regtmod.gperf index 64ee7d9d..38986df0 100644 --- a/modules/arch/x86/x86regtmod.gperf +++ b/modules/arch/x86/x86regtmod.gperf @@ -284,7 +284,7 @@ yasm_x86__parse_check_regtmod(yasm_arch *arch, const char *id, size_t id_len, } if (type == YASM_ARCH_SEGREG && bits != 0 && arch_x86->mode_bits == bits) { - yasm_warn_set(YASM_WARN_GENERAL, + yasm_warn_set(YASM_WARN_SEGREG_IN_64BIT, N_("`%s' segment register ignored in %u-bit mode"), id, bits); } |