Skip to content

allow headers to be included from extern "C" sections in C++

Alexandre DENIS requested to merge adenis/simgrid:master into master

When simgrid headers are included into C headers, which themselves are included in extern "C" section in C++, the #ifdef __cplusplus in simgrid headers will behave as if they were in a C++ context, even though they are in an extern "C". With this patch, we add extern "C++" to those places so as to make it a true C++ context.

Merge request reports