EDuke32 Changelog Archivio non ufficiale

Build 3717

29 aprile 2013 · 3 commit di 1 autore · SVN

Build per mese 47 build

File di log originale · 20130429-3717.txt
------------------------------------------------------------------------
r3717 | helixhorned | 2013-04-29 12:24:19 -0700 (Mon, 29 Apr 2013) | 6 lines

Fix two bugs found by Clang's undefined behavior sanitizer.

- Return early from drawsprite_classic() if tspr->owner if oob.
  Commonize that check between renderers into bad_tspr().
- Make the BIT() macro a left-shift of the *unsigned* number 1,
  preventing expansion to (1<<31).
------------------------------------------------------------------------
r3716 | helixhorned | 2013-04-29 12:24:15 -0700 (Mon, 29 Apr 2013) | 7 lines

Fix debugging builds with Clang 3.2 and up.

In those Clang versions, -fcatch-undefined-behavior was replaced by
-fsanitize=<what>.  For Clang 3.2, we enable the address sanitizer
and for 3.3 also the miscellaneous undefined behavior one.
Currently, there's no version auto-detection from the Makefiles, it's
set to 3.3 and the others are commented out.
------------------------------------------------------------------------
r3715 | helixhorned | 2013-04-29 12:24:12 -0700 (Mon, 29 Apr 2013) | 4 lines

Generalize ZRANGE and ANGRANGE to accept any nonnegative number.

Numbers 0 and 1 mean 'no spread', but the latter does one krand() call.
Negative numbers are reserved for potential future use.
------------------------------------------------------------------------
Fix

Fix two bugs found by Clang's undefined behavior sanitizer.

Philipp Kutin (Helixhorned) 29 apr 2013, 12:24 UTC−7 r3717

- Return early from drawsprite_classic() if tspr->owner if oob. Commonize that check between renderers into bad_tspr(). - Make the BIT() macro a left-shift of the *unsigned* number 1, preventing expansion to (1<<31).

Fix

Fix debugging builds with Clang 3.2 and up.

Philipp Kutin (Helixhorned) 29 apr 2013, 12:24 UTC−7 r3716

In those Clang versions, -fcatch-undefined-behavior was replaced by -fsanitize=<what>. For Clang 3.2, we enable the address sanitizer and for 3.3 also the miscellaneous undefined behavior one. Currently, there's no version auto-detection from the Makefiles, it's set to 3.3 and the others are commented out.

Generalize ZRANGE and ANGRANGE to accept any nonnegative number.

Philipp Kutin (Helixhorned) 29 apr 2013, 12:24 UTC−7 r3715

Numbers 0 and 1 mean 'no spread', but the latter does one krand() call. Negative numbers are reserved for potential future use.