Build Issue "‘const void*’ to ‘void*’ [-fpermissive]"

Created by: tneuroth

from https://github.com/ornladios/adios2.git source as of this morning.

Compiling with gcc 4.9

source/adios2/engine/insitumpi/InSituMPIReader.cpp:456:33: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive] MPI_Isend(schedule.data(), ...

I was able to fix it by changing to:

InSituMPIReader.cpp:456:33: MPI_Isend( const_cast<void*>( reinterpret_cast<const void *>( schedule.data() ) ), ...