I know that I would never hit such a limit when following good practices. However, I need to use an automatically generated function with lots of parameters (and I cannot change anything with it, I receive the function from someone else).
So: What is the maximum number of parameters I can use in gcc resp. MinGW?
I've found this about the C++ language specification. And this about the C language standard limits. What I am interested in is the question what the "real world" limits / implementation details are. Especially in gcc and MinGW.
Also: What kind of error message could I expect when hitting such a limit? And when using C Code in a C++ application via the extern "C"
declaration, does this make any difference to the "normal" C limit? Might other limits than the number of parameters apply here, e.g. something like a maximum line length? Or the maximum stack size?
Thanks!