On Tue, 31 Mar 2009, Bingfeng Mei wrote:

> Hello, 
> I found the following code doesn't compile with gcc4.4. and -std=c99. 
> Does this behaviour conform to standard?

It does compile.  It may or may not link depending on compilation options, 
since you are missing an external definition for foo, so this is not a 
valid program without another translation unit with such a definition.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to