Re: Feature request - error for implicit int return in pointer context

2006-08-15 Thread Pavel Roskin
On Tue, 2006-08-15 at 10:06 -0700, Joe Buck wrote: > On Mon, Aug 14, 2006 at 08:38:38PM -0400, Pavel Roskin wrote: > > On Mon, 2006-08-14 at 22:44 +0200, Andreas Schwab wrote: > > > Try -Werror-implicit-function-declaration. Not the same, but pretty > > > close. > &g

Re: Feature request - error for implicit int return in pointer context

2006-08-14 Thread Pavel Roskin
On Mon, 2006-08-14 at 22:44 +0200, Andreas Schwab wrote: > Pavel Roskin <[EMAIL PROTECTED]> writes: > > > I don't know much about gcc implementation, but if it's not hard to > > check the context of the function call (or, alternatively, the > > provenance

Feature request - error for implicit int return in pointer context

2006-08-14 Thread Pavel Roskin
rent size). I don't know much about gcc implementation, but if it's not hard to check the context of the function call (or, alternatively, the provenance of the integer that is about to be cast to a pointer), I'll appreciate if this case is promoted to an error, and least for 64-bit targets. -- Regards, Pavel Roskin