diff --git a/source/adios2/core/adiosFunctions.cpp b/source/adios2/core/adiosFunctions.cpp
index c1caea095e468337e829f5b2a2c36bf5d21a2fe3..3c88bef79d391cf43ae1c2dd8ba00cd39d5515e5 100644
--- a/source/adios2/core/adiosFunctions.cpp
+++ b/source/adios2/core/adiosFunctions.cpp
@@ -9,25 +9,23 @@
  */
 
 #include "adiosFunctions.h"
-
+/// \cond EXCLUDE_FROM_DOXYGEN
 #include <sys/stat.h>  //stat
 #include <sys/types.h> //CreateDirectory
 #include <unistd.h>    //CreateDirectory
 
-#include <cmath>   // std::ceil, std::pow, std::log
-#include <cstring> //std::memcpy
-
 #include <algorithm> //std::count
+#include <cmath>     // std::ceil, std::pow, std::log
+#include <cstring>   //std::memcpy
 #include <fstream>
 #include <ios> //std::ios_base::failure
 #include <sstream>
 #include <stdexcept>
 #include <thread> //std::thread
+/// \endcond
 
-
-#include "adios2/ADIOSTypes.h"
 #include "adios2/ADIOSMPI.h"
-
+#include "adios2/ADIOSTypes.h"
 #include "adios2/core/Support.h"
 
 #ifdef ADIOS2_HAVE_BZIP2
diff --git a/source/adios2/utilities/format/bp1/BP1Base.cpp b/source/adios2/utilities/format/bp1/BP1Base.cpp
index a108edd7d444aa4e0ab66408ed8f04adf9944c06..43b1d293b6bbe94b2e36644a5ddf615ea420f8f8 100644
--- a/source/adios2/utilities/format/bp1/BP1Base.cpp
+++ b/source/adios2/utilities/format/bp1/BP1Base.cpp
@@ -10,10 +10,8 @@
 
 #include "BP1Base.h"
 
-
 #include "adios2/core/adiosFunctions.h" //CreateDirectory
 
-
 namespace adios
 {
 namespace format
diff --git a/source/adios2/utilities/format/bp1/BP1Writer.h b/source/adios2/utilities/format/bp1/BP1Writer.h
index 8212173368867970cbe6cc2422b2db61bdba8104..b3bd946fc6aa38a2483c26ebc5c131d7fa5bc811 100644
--- a/source/adios2/utilities/format/bp1/BP1Writer.h
+++ b/source/adios2/utilities/format/bp1/BP1Writer.h
@@ -277,7 +277,7 @@ private:
 
 #define declare_template_instantiation(T)                                      \
     extern template BP1Writer::ResizeResult BP1Writer::ResizeBuffer(           \
-        const Variable<T> &variable) noexcept;                                 \
+        const Variable<T> &variable);                                          \
                                                                                \
     extern template void BP1Writer::WriteVariablePayload(                      \
         const Variable<T> &variable) noexcept;                                 \
diff --git a/source/adios2/utilities/format/bp1/BP1Writer.tcc b/source/adios2/utilities/format/bp1/BP1Writer.tcc
index 50facc41aef53075f00227fa6ccc34201b46d718..170f82bcca1bcc7b37b0a1209e85a75334c784f3 100644
--- a/source/adios2/utilities/format/bp1/BP1Writer.tcc
+++ b/source/adios2/utilities/format/bp1/BP1Writer.tcc
@@ -33,6 +33,8 @@ BP1Writer::ResizeResult BP1Writer::ResizeBuffer(const Variable<T> &variable)
             return ResizeResult::FLUSH;
         }
     }
+    
+    return ResizeResult::SUCCESS;
 }
 
 template <class T>