[lkml]   [1996]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ideas
> 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.


 \ /
  Last update: 2005-03-22 13:37    [W:0.039 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site