[tlbuild] dvi test?

Nelson H. F. Beebe beebe at math.utah.edu
Sat Jan 29 20:02:26 CET 2022


Besides the Electric Fence library that I suggested recently to track
down the possible problem in xdvi, recent gcc (12) and clang (11, 12,
13) compilers have new options that can ensure that local variables
are initialized, rather than having unpredictable values from the last
occupant of their stack positions:

	-ftrivial-auto-var-init=[uninitialized|pattern|zero]

This option probes areas of the C language where behavior is
implementation defined, or undefined:

	-fsanitize=undefined

Other possibly useful options are:

	-Werror
	-Wextra
	-Wno-unused-variable
	-Wshadow=global
	-Wshadow=local
	-Wuninitialized

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


More information about the tlbuild mailing list.