From b2b993f82e65ed60e31fd73a1eb615f77900038f Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Fri, 17 Jun 2016 15:03:36 +0200 Subject: [PATCH] [SMPI] Add XBT_ATTRIB_UNUSED to prevent OSX compilation error --- src/smpi/smpi_memory.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.20.1