Re: [OMPI devel] exit declaration in configure tests

2006-08-21 Thread Brian Barrett
On Mon, 2006-08-21 at 09:38 +0200, Ralf Wildenhues wrote: > Revision 11268 makes me curious: > > |M /trunk/config/ompi_setup_cxx.m4 > | > | Reorder the C++ compiler discovery stages. Check first the compiler vendor > | before checking if we are able to compile the test program. This is requir

Re: [OMPI devel] OpenMPI not conforming with the C90 spec?

2006-08-21 Thread Ralph H Castain
On 8/21/06 6:58 AM, "Ralf Wildenhues" wrote: > * Ralph H Castain wrote on Mon, Aug 21, 2006 at 02:39:51PM CEST: >> >> It sounds, therefore, like we are now C99 compliant and no longer C90 >> compliant at all? > > Well, a compiler supporting C90 plus 'long long' as an extension would > still

Re: [OMPI devel] OpenMPI not conforming with the C90 spec?

2006-08-21 Thread Ralf Wildenhues
* Ralph H Castain wrote on Mon, Aug 21, 2006 at 02:39:51PM CEST: > > It sounds, therefore, like we are now C99 compliant and no longer C90 > compliant at all? Well, a compiler supporting C90 plus 'long long' as an extension would still be ok. Surely, that's not "strictly C90". But from glancing

Re: [OMPI devel] OpenMPI not conforming with the C90 spec?

2006-08-21 Thread Ralph H Castain
On 8/21/06 1:14 AM, "Ralf Wildenhues" wrote: > >> Perhaps we should use int64_t instead. > > No, that would not help: int64_t is C99, so it should not be declared > either in C89 mode. Also, the int64_t is required to have 64 bits, and > could thus theoretically be smaller than 'long long'

Re: [OMPI devel] exit declaration in configure tests

2006-08-21 Thread Ralf Wildenhues
Hello George, Thanks for explaining. * George Bosilca wrote on Mon, Aug 21, 2006 at 11:38:21AM CEST: > With autoconf 2.59 every C++ test generated by autoconf include the wrong > prototype of exit. Yes, presumably because Autoconf did not try the exit declaration that would please that MSVC ver

Re: [OMPI devel] OpenMPI not conforming with the C90 spec?

2006-08-21 Thread Jonathan Underwood
On 19/08/06, Adrian Knoth wrote: > Compiling a file with the gcc options -Wall and -pedantic gives the > following warning: > mpi.h:147: warning: ISO C90 does not support 'long long' > Is this intentional, or is this a bug? If you do not insist on using C90, you may compile with -std=c99 to get

Re: [OMPI devel] exit declaration in configure tests

2006-08-21 Thread George Bosilca
With autoconf 2.59 every C++ test generated by autoconf include the wrong prototype of exit. I did patch my autoconf to add the missing exit prototype (the one compatible with cl.exe) but next time I upgrade my system, my modifications vanished. Between autoconf and libtool I spend a fair amoun

Re: [OMPI devel] A few notes on IPv6 status

2006-08-21 Thread Adrian Knoth
On Sat, Aug 19, 2006 at 11:07:26PM +0200, Adrian Knoth wrote: > Hi, Hi! > Do you agree with a resulting URL like tcp://[2001:6f8::1]:port or > do you think it should be tcp6://? I've changed this to tcp6://, because orte/mca/oob/tcp/oob_tcp.c contains the following lines: /* setup the IP a

[OMPI devel] exit declaration in configure tests

2006-08-21 Thread Ralf Wildenhues
Revision 11268 makes me curious: |M /trunk/config/ompi_setup_cxx.m4 | | Reorder the C++ compiler discovery stages. Check first the compiler vendor | before checking if we are able to compile the test program. This is required | for windows as the C++ conftest.c file generated by configure can

Re: [OMPI devel] OpenMPI not conforming with the C90 spec?

2006-08-21 Thread Ralf Wildenhues
Hello Adrian, Jonathan, * Adrian Knoth wrote on Sat, Aug 19, 2006 at 08:38:15PM CEST: > On Thu, Aug 17, 2006 at 11:48:44PM +0100, Jonathan Underwood wrote: > > > Compiling a file with the gcc options -Wall and -pedantic gives the > > following warning: > > mpi.h:147: warning: ISO C90 does not su