summaryrefslogtreecommitdiff
path: root/modules/arch
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2015-11-06 20:15:04 -0800
committerPeter Johnson <peter@tortall.net>2015-11-06 20:15:04 -0800
commit51af4082cc898b122b88f11fd34033fc00fad81e (patch)
tree13fbd0bbceade448ca8bf26f4bd2d95d80e37288 /modules/arch
parent0efd093199b725ede61737d19f4a411ed310a3aa (diff)
downloadyasm-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.gperf2
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);
}