title: Is there a maximum number of parameters for functions in C with the gcc (resp. MinGW) compiler?
body: <p>I know that I would never hit such a limit when following good practices. However, I need to use an automatically generated function with <em>lots</em> of parameters (and I cannot change anything with it, I receive the function from someone else).</p>
  
  <p>So: What is the maximum number of parameters I can use in gcc resp. MinGW?</p>
  
  <p>I've found <a href="https://stackoverflow.com/questions/4582012/maximum-number-of-parameters-in-function-declaration">this</a> about the C++ language specification. And <a href="https://stackoverflow.com/questions/9034787/function-parameters-max-number">this</a> 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.</p>
  
  <p>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 <code>extern "C"</code> 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?</p>
  
  <p>Thanks!</p>