Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] oshmem fixed sized type support
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-05-05 17:46:26


Josh --

Is this the Right fix?

I ask because we check for <stdint.h> in configure. I'm sure it's always there for Linux, but is it *always* there? Indeed, are all the fixed size types always guaranteed to be available?

On May 2, 2014, at 12:14 PM, svn-commit-mailer_at_[hidden] wrote:

> Author: jladd (Joshua Ladd)
> Date: 2014-05-02 12:14:05 EDT (Fri, 02 May 2014)
> New Revision: 31605
> URL: https://svn.open-mpi.org/trac/ompi/changeset/31605
>
> Log:
> Adding missing include for OSHMEM changes necessary to support Java bindings.
>
> Text files modified:
> trunk/oshmem/include/shmem.h.in | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> Modified: trunk/oshmem/include/shmem.h.in
> ==============================================================================
> --- trunk/oshmem/include/shmem.h.in Fri May 2 10:28:45 2014 (r31604)
> +++ trunk/oshmem/include/shmem.h.in 2014-05-02 12:14:05 EDT (Fri, 02 May 2014) (r31605)
> @@ -14,7 +14,7 @@
>
>
> #include <stddef.h> /* include for ptrdiff_t */
> -
> +#include <stdint.h> /* include for fixed width types */
> #if defined(c_plusplus) || defined(__cplusplus)
> # include <complex>
> # define OSHMEM_COMPLEX_TYPE(type) std::complex<type>
> _______________________________________________
> svn-full mailing list
> svn-full_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/