[Bug testsuite/21062] Incorrect declaration of printf() in alias2.C

oyvind dot harboe at zylin dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 17 09:43:00 GMT 2005


------- Additional Comments From oyvind dot harboe at zylin dot com  2005-04-17 09:43 -------
I searched for 'extern "C" int printf' in the testsuite and all the other
declarations I saw are in line with my patch.

However, I believe that it is worth taking a cursory look at the ip2k function
ip2k_return_pops_args to see if a declaration like "void foo(...)" breaks it.

I'm no varargs expert, but can varargs work without a first fixed argument?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21062



More information about the Gcc-bugs mailing list