Re: Passing too many parameters to a function?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Am 20.08.2006 um 12:20 schrieb Peter Seebach: you know how main() can be declared with varying parameter counts, like Does this work for any function? If I pass a function more parameters than it actually uses, is that safe with OS X's current Mach-O ABIs? No. Ciao Nat! ------------------------------------------------------ You know, in the Bible it doesn't say, "Waddle forth and calcify." -- DLR _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... In message <7831D65F-64DF-4203-B61B-F3677500FD0F@gmx.net>, Uli Kusterer writes: int main() or int main( int argc, const char* argv* ) and even more. Can you show an example, where sending a superflous parameter to a C function creates a problem with current Mach-O ABIs ? This email sent to site_archiver@lists.apple.com
participants (1)
-
Nat!