We only recently started allowing the use of C99 in the code base (i.e., we put AC_PROG_CC_C99 in configure.ac).
There's no *requirement* to use C99 throughout the code, but we generally do the following kinds of things: * restrict (as you noted) * variable declarations in the middle of blocks / loops (as you noted) * struct member initialization * // comments > On Jul 30, 2015, at 6:37 AM, Christoph Niethammer <[email protected]> wrote: > > Hello, > > What is the C standard version to be used for the Open MPI code base? > > Most seems to be < C99. > C99 features I saw so far mostuly in newer components: > * restrict keyword > * variable declaration inside for loop heads > > Regards > Christoph Niethammer > > -- > > Christoph Niethammer > High Performance Computing Center Stuttgart (HLRS) > Nobelstrasse 19 > 70569 Stuttgart > > Tel: ++49(0)711-685-87203 > email: [email protected] > http://www.hlrs.de/people/niethammer > _______________________________________________ > devel mailing list > [email protected] > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2015/07/17716.php -- Jeff Squyres [email protected] For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
