dxx-rebirth/common/include
Kp dfe827e793 Relax valptridx<T>::guarded compile-time checks
When using `gcc -fsanitize=undefined`, the compiler proves trivial
results, so `DXX_CONSTANT_TRUE` is defined.  It then fails to prove that
`DXX_CONSTANT_TRUE(m_state == checked)` is false, causing a compile-time
error.  Relax the check to occur only when it can prove `m_state` equal
to a disallowed value, rather than when it cannot prove `m_state` equal
to an allowed value.

Move the preprocessor guard so that the runtime check is always visible.
Optimizing compilers can still eliminate that check at compile-time when
it provably never fails.
2017-02-11 21:42:43 +00:00
..
editor When switching to the editor in a game, use a proper saved game 2016-11-21 15:22:11 +08:00
3d.h Pass canvas to g3_check_and_draw_poly 2017-02-11 21:42:42 +00:00
args.h
byteutil.h
compiler-addressof.h
compiler-array.h
compiler-begin.h
compiler-exchange.h
compiler-integer_sequence.h
compiler-lengthof.h
compiler-make_unique.h
compiler-range_for.h
compiler-static_assert.h
compiler-type_traits.h
console.h Prefer DXX_CONSTANT_TRUE over DXX_HAVE_BUILTIN_CONSTANT_P 2016-11-12 18:10:09 +00:00
countarray.h
cpp-valptridx.h Split valptridx declarations 2016-12-24 18:12:17 +00:00
digi_audio.h
digi_mixer.h
digi_mixer_music.h
dsx-ns.h
dxxerror.h Scrub invalid primary textures at level load 2016-12-22 05:21:16 +00:00
event.h
fmtcheck.h Prefer DXX_CONSTANT_TRUE over DXX_HAVE_BUILTIN_CONSTANT_P 2016-11-12 18:10:09 +00:00
func.h
fwd-event.h
fwd-gr.h Expand GHEIGHT 2017-02-11 21:42:42 +00:00
fwd-partial_range.h
fwd-valptridx.h Add options for reduced-size valptridx error reporting 2017-01-28 18:12:20 +00:00
fwd-vecmat.h
fwd-window.h Use virtual function to dispatch window events 2016-11-19 17:24:52 +00:00
gr.h Pass canvas to gr_set_curfont 2017-02-11 21:42:38 +00:00
grdef.h Expand GHEIGHT 2017-02-11 21:42:42 +00:00
hash.h
hmp.h
iff.h
ignorecase.h
internal.h Remove obsolete ogl_pal 2017-02-11 21:42:31 +00:00
interp.h Pass canvas to g3_draw_polygon_model 2017-02-11 21:42:40 +00:00
joy.h Merging in unification/master, resolving conflict in similar/main/kmatrix.cpp 2016-11-06 14:20:18 +08:00
jukebox.h
key.h
loadgl.h
makesig.h
maths.h
messagebox.h
mouse.h
ntstring.h
null_sentinel_iterator.h
ogl_extensions.h
ogl_init.h Pass canvas to g3_draw_tmap_2 2017-02-11 21:42:41 +00:00
ogl_sync.h
pack.h
palette.h
partial_range.h Prefer DXX_CONSTANT_TRUE over DXX_HAVE_BUILTIN_CONSTANT_P 2016-11-12 18:10:09 +00:00
pcx.h Fix various check_header_includes=1 failures 2016-12-05 00:26:11 +00:00
physfs-serial.h
physfs_list.h
physfsx.h Require support for reference qualified methods 2016-12-10 17:51:07 +00:00
poison.h Poison multiplayer object_rw without making it unreadable 2017-01-08 22:32:00 +00:00
pstypes.h
rbaudio.h
reverse.h
rle.h Factor out RLE expansion 2017-02-11 21:42:30 +00:00
serial.h Add special case to make past releases not die on various segnums 2017-01-21 19:05:43 +00:00
strutil.h
texmap.h Pass canvas to draw_tmap{,_flat} 2017-02-11 21:42:39 +00:00
timer.h
u_mem.h
ui.h Pass canvas to ui_string_centered 2017-02-11 21:42:36 +00:00
valptridx.h Relax valptridx<T>::guarded compile-time checks 2017-02-11 21:42:43 +00:00
varutil.h
vecmat.h Disallow int for vm_distance_squared 2017-02-11 21:42:43 +00:00
window.h Fix memory corruption starting multiplayer game 2016-11-19 18:09:26 +00:00