nasm/include
H. Peter Anvin (Intel) 93367ea97b warnings; move WARN_OTHER to the end; allow non-warnings to be suppressed
Putting WARN_OTHER at the end of the list creates a number of
advantages and simplifications:

1. It is more user friendly! It is far more of a logical location for
   the default case to be at the end of the printed list.
2. The value 0 can be used in a number of places to indicate a
   non-suppressible event. By having warning_state[0] always contain
   WARN_ST_ENABLED, we can always do the table lookup, even.
3. It means non-warnings (except fatal/panic) can now be conditioned
   on warning states. In those cases, WARN_*, including WARN_OTHER,
   can be added to the mask for any category. This is especially
   useful for notes.

The only downside is that we have to explicitly detect the case where
we have ERR_WARNING but no WARN_ flag. This is a trivial test.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2018-12-12 15:58:32 -08:00
..
bytesex.h bytesex.h: more simplifications and add const 2017-11-29 17:19:27 -08:00
compiler.h malloc: simplify nasm_malloc code, add nasm_strcatn() 2018-05-30 11:40:42 -07:00
disp8.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
error.h warnings; move WARN_OTHER to the end; allow non-warnings to be suppressed 2018-12-12 15:58:32 -08:00
hashtbl.h hashtbl, strtbl: add hash_free_all(), split strtbl_find() 2017-04-24 00:54:51 -07:00
iflag.h Fix problem with C99 inlines and -Werror=missing-prototypes 2018-02-20 12:34:17 -08:00
ilog2.h BR 3392443: Missing prototype of alignlog2_64 2017-10-11 12:19:17 -07:00
insns.h Merge tag 'nasm-2.13.03' 2018-02-07 13:51:54 -08:00
labels.h Cleanup of label renaming infrastructure, add subsection support 2018-06-01 18:06:25 -07:00
md5.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
nasm.h optimization: Introduce new flag to turn-off selectively 2018-08-16 00:01:31 +03:00
nasmint.h nasmint.h: change header guards to NASM_NASMINT_H 2016-10-04 18:11:57 -07:00
nasmlib.h segalloc: DO NOT reset segment numbers 2018-06-14 16:42:03 -07:00
opflags.h opflags: Convert is_class and is_reg_class to helpers 2018-10-13 22:57:30 +03:00
perfhash.h Add generic perfect string hashes, use for directives 2017-04-03 00:27:07 -07:00
raa.h RAA: make pointer vs integer RAAs type safe 2018-06-18 17:11:54 -07:00
rbtree.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
rdoff.h rdoff: use nasm-provided safe memory allocation and I/O 2017-04-17 13:56:50 -07:00
saa.h saa, raa: saa_init() and raa_init() will never return NULL 2017-04-23 23:37:11 -07:00
strlist.h Factor out common string list handling code 2016-10-04 01:12:28 -07:00
tables.h Handle multiple standard macro sets sanely 2016-07-13 14:23:48 -07:00
ver.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00