Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hopefully fix the strdup/_strdup issue
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 9 Jun 2015 17:31:07 +0000 (19:31 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 9 Jun 2015 21:57:35 +0000 (23:57 +0200)
commit6791a47c19cb458ed6764402938538d12567597c
tree129f9ac3387bd1b67d84db794370b12b14219357
parent66b73d0944f57b9ffe3cf47ebf16f51f969f793f
Hopefully fix the strdup/_strdup issue

The problem was related to the fact that, when compiling in C++11
standard mode (--std=c++11), the compiler/library would not let us use
the (non-C++11-standard) strdup()/_strdup() functions. However, the C
code was not affected (and the cmake function detection function was
not affected as well and was detecting the functions as available). We
have to compile in C++11-with-extensions mode (--std=gnu++11) in order
to get them.
buildtools/Cmake/Flags.cmake
include/xbt/sysdep.h