LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Mike Heroux (maherou_at_[hidden])
Date: 2007-03-13 20:20:27


It appears that a number of the configure tests use small code fragments
that start with:

 int main(int argc, char * argv) { ...

  g++ complains because the argument list is nonstandard. Then configure
interprets the complaint as a (bogus) problem with the C++ compiler not
supporting bool.

I looked at the FAQs and mail lists, but did not find any mention of this
problem. I went through and manually changed the above to:

 int main (int argc, char * argv[])

Then everything worked fine. Although the mpicc, mpic++ wrappers have
issues with multiple definitions of symbols ___cxa_atexit that I am working
through right now.

Mike