Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix compilation error on clang (and group all the region creation functions...
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 2 Jun 2015 11:28:09 +0000 (13:28 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 2 Jun 2015 11:28:09 +0000 (13:28 +0200)
commit54b039b2cb830d851ebe173aaad0a2bbf3129174
treeb3ef6e9ffcc89997935e8b44cf7563ceb3debd41
parent8454ea5fa71f9a14328f16aec13537e592912d48
[mc] Fix compilation error on clang (and group all the region creation functions together)

error: 'MC_region_sparse' has C-linkage specified, but returns user-defined type 'simgrid::mc::RegionSnapshot' which is incompatible with C
buildtools/Cmake/DefinePackages.cmake
src/mc/RegionSnapshot.cpp [new file with mode: 0644]
src/mc/RegionSnapshot.hpp [new file with mode: 0644]
src/mc/mc_checkpoint.cpp
src/mc/mc_snapshot.h