diff --git a/Makefile b/Makefile
index 384c56b41881160af40acb7b937d2fca874fc873..1c1e3ef4c7e35cd64e9dc2ec99fd60de7af55b76 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ AR:=$(SYS_BIN)/ar
 MPICC:=$(SYS_BIN)/mpic++
 LIBS:= -L$(SYS_LIB) -L$(LOCAL_LIB)
 
-CFLAGS:=-c -Wall -O0 -g -Wpedantic -std=c++11
+CFLAGS:=-c -Wall -O0 -g -Wpedantic -Woverloaded-virtual -std=c++11
 ARFLAGS:=rcs
 
 #ADIOS 
diff --git a/include/transport/CPOSIX.h b/include/transport/CPOSIX.h
index 2c50380e67b896012cd968912b6965bcce8904e9..ee6567fca49915cb04781f9a092070e2e30ab552 100644
--- a/include/transport/CPOSIX.h
+++ b/include/transport/CPOSIX.h
@@ -27,7 +27,7 @@ public:
 
     void Open( const std::string fileName, const std::string accessMode );
 
-    void Write( CVariableBase& variable );
+    void Write( const CVariableBase& variable );
 
     void Close( );
 
diff --git a/src/transport/CPOSIX.cpp b/src/transport/CPOSIX.cpp
index 5c399392c5b549ff7971f3322b8f223b45724207..87c4fb114ebab2a50d5b5b7a888a8edcfe0a866c 100644
--- a/src/transport/CPOSIX.cpp
+++ b/src/transport/CPOSIX.cpp
@@ -30,7 +30,7 @@ void CPOSIX::Open( const std::string fileName, const std::string accessMode )
 }
 
 
-void CPOSIX::Write( CVariableBase& variable )
+void CPOSIX::Write( const CVariableBase& variable )
 {
 
 }