[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LTP] Why not use -Wall?




Hello

Any reason why the makefiles do not use -Wall?

There are a lot of warnings when it is enabled. If that was the reason for
not adding it, here is a patch vs recent CVS tree to clean things up
(well, I've tried to clean things up).


Remaining annoyances are:

../lib/libltp.a(tst_tmpdir.o): In function `tst_tmpdir':
tst_tmpdir.o(.text+0x57): the use of `tempnam' is dangerous, better use `mkstemp'

"scan.l", line 236: warning, dangerous trailing context
(lex being unhappy about something)

/Urban

ltp-Wall.patch.gz