Thanks for reporting this!
1. A patch for this has already been committed to SVN:
http://www.lam-mpi.org/MailArchives/lam/2008/03/13641.php
2. I do not believe that your patch is correct in spirit:
-main(int argc, char *argv[])
+main(int argc, char **argv[])
The argument to main() is a pointer to an array of strings.
(char**[]) is the wrong type. Remember that m4 will strip out [], so
even though your patch ultimately result in (char**) (and therefore
work) -- it makes reading the code really weird. The patch I
submitted just changes * to ** and removes the [].
Note the patch is part of the 7.1.5 beta that Brian posted:
http://www.lam-mpi.org/beta/
On Apr 28, 2008, at 6:04 PM, Peter Alfredsen wrote:
> Please CC: me on all responses.
> As seen in [2], [3] and [4], gcc-4.3.0 has become stricter,
> unfortunately affecting the LAM-MPI configure system. I've cooked up a
> quick patch at [1] that should take care of this.
>
> --
> /PA
> [1] http://bugs.gentoo.org/attachment.cgi?id=151287&action=view
> [2] http://bugs.gentoo.org/attachment.cgi?id=151289&action=view
> [3] http://bugs.gentoo.org/219675
> [4] http://bugs.debian.org/468065
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
Jeff Squyres
Cisco Systems
|