Package: pike7.8
Version: 7.8.866-3
Usertags: goto-cc
Severity: minor
Tags: upstream

pike's configure fails to determine the correct maximal stack size when using
compilers that are more strict about the correct number of parameters to main
(the C standard mandates 0 or 2 or 3 parameters). This is due to the following
bit in src/configure (src/configure.in):

      int main(int argc)
      {
        f=fopen("confdefs.out.2", "w");
        /* weird filename to circumvent configure weirdness */
        save_depth();
        use_stack(0);
      }

Instead, this should be int main() or int main(int argc, char** argv).

Best,
Michael

PS.: This is an upstream issue, but upstream's JIRA seems unavailable at
present.

Attachment: pgp7esQjQS07Z.pgp
Description: PGP signature

Reply via email to