Text File

Aucbvax.4168 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Fri Oct 2 02:37:44 1981 lint oversight >From day@RAND-UNIX Fri Oct 2 02:33:45 1981 lint should complain if you try to switch on a pointer.

char *cp;

switch (cp) { case 1: ; }

gets no complaints.

--dave

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.