12 Jan
2002
12 Jan
'02
1:41 a.m.
Martin G C Davies wrote:
I can't see any way an "undefined" return value is useful so why is it just a warning since it's almost bound to produce bad code?
I'll turn it into an error.
If you compile with `-Wall' (always recommended), you'll see this problem immediately.
Sadly I get thousands of warnings like that (case statements where not all values checked mostly).
Try `-Wno-switch' (after `-Wall'). Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html