On Thu, Feb 2, 2012 at 7:31 AM, Christopher Samuel <sam...@unimelb.edu.au> wrote: > On 29/01/12 10:07, Dmitri Gribenko wrote: >> My colleague and I want to implement a compile-time check (warning) >> for clang compiler that specified buffer type matches passed >> MPI_Datatype. > > Interesting, is it possible to do the same for GCC with its plugin > architecture ?
I haven't worked with GCC plugins, but after looking at the documentation I think it is possible. Dmitri Gribenko -- main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if (j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/