[Ruby2c] [ ruby2c-Bugs-1444 ] The main() function is output with
the type long
noreply at rubyforge.org
noreply at rubyforge.org
Fri Feb 4 07:58:03 PST 2005
Bugs item #1444, was opened at 2005-02-04 15:58
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1766&aid=1444&group_id=443
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Sparshatt (msparshatt)
Assigned to: Nobody (None)
Summary: The main() function is output with the type long
Initial Comment:
When converting a program with a main routine the type of the translated function is long, which causes GCC to output a warning when compiling
hello.c: in function 'main':
hello.c:17: warning: return type of 'main' is not 'int'
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1766&aid=1444&group_id=443
More information about the ruby2c
mailing list