From: Christian Heinrich Date: Fri, 17 Jun 2016 13:03:36 +0000 (+0200) Subject: [SMPI] Add XBT_ATTRIB_UNUSED to prevent OSX compilation error X-Git-Tag: v3_14~964 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b2b993f82e65ed60e31fd73a1eb615f77900038f [SMPI] Add XBT_ATTRIB_UNUSED to prevent OSX compilation error --- diff --git a/src/smpi/smpi_memory.cpp b/src/smpi/smpi_memory.cpp index 6893833f44..76ed963ed8 100644 --- a/src/smpi/smpi_memory.cpp +++ b/src/smpi/smpi_memory.cpp @@ -9,6 +9,7 @@ #include #include #include + #ifndef WIN32 #include #include @@ -22,6 +23,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_memory, smpi, "Memory layout support for SM static const int PROT_RWX = (PROT_READ | PROT_WRITE | PROT_EXEC); static const int PROT_RW = (PROT_READ | PROT_WRITE ); +XBT_ATTRIB_UNUSED static const int PROT_RX = (PROT_READ | PROT_EXEC ); void smpi_get_executable_global_size(void) {