Messages in this thread |  | | From | (Alan Cox) | Subject | Re: ideas | Date | Tue, 7 May 1996 22:35:53 +0100 (BST) |
| |
> That's obviously a good start, but it looks like there's still a lot of > work to be done before g++ is happy. (Most of the below is warnings, > but it does complain about a few switch statements which could let some > input fall through, casting from void *'s to char *'s (why would anyone > use void* like that?) etc.) Here's output from just init/main.c:
Feel free to sort it. I guess its mostly subtle things and a check wouldnt do anyone any harm.
> Good point - How different is gcc with those parameters from g++ in its > type checking? Do prototypes like int foo(); suspend type-checking or > anything along those lines?
The compiler with -Wall whinges that there is no prototype for function X and you get warnings.
Alan
|  |