On Tue, Mar 31, 2009 at 4:24 PM, Bingfeng Mei <b...@broadcom.com> wrote: > Hello, > I found the following code doesn't compile with gcc4.4. and -std=c99. Does > this behaviour conform to standard? > > inline int foo(){ > return 10; > } > > int main(int argc, char **argv){ > return foo(); > }
It works for me. What is your error? Richard.