Commit 84d4fe8d authored by Ian Bell's avatar Ian Bell
Browse files

SECURITY. BANNED.H++. Added some DISABLE_BANNED_COMPLIANCE macros around GMM...

SECURITY. BANNED.H++. Added some DISABLE_BANNED_COMPLIANCE macros around GMM includes that include strlen() invokations.

[git-p4: depot-paths = "//ReForm/ReForm/main/CoMISo/": change = 11232]
parent 64b5a91f
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
#ifndef GMMTYPES_HH_INCLUDED #ifndef GMMTYPES_HH_INCLUDED
#define GMMTYPES_HH_INCLUDED #define GMMTYPES_HH_INCLUDED
DISABLE_BANNED_COMPLIANCE
#include <gmm/gmm.h> #include <gmm/gmm.h>
ENABLE_BANNED_COMPLIANCE
namespace COMISO_GMM namespace COMISO_GMM
{ {
......
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
#include <CoMISo/Utils/StopWatch.hh> #include <CoMISo/Utils/StopWatch.hh>
#include <vector> #include <vector>
#include <cstddef> #include <cstddef>
DISABLE_BANNED_COMPLIANCE
#include <gmm/gmm.h> #include <gmm/gmm.h>
ENABLE_BANNED_COMPLIANCE
#include "NProblemGmmInterface.hh" #include "NProblemGmmInterface.hh"
#include "NProblemInterface.hh" #include "NProblemInterface.hh"
#include "NConstraintInterface.hh" #include "NConstraintInterface.hh"
......
...@@ -13,8 +13,9 @@ ...@@ -13,8 +13,9 @@
#include <CoMISo/Config/CoMISoDefines.hh> #include <CoMISo/Config/CoMISoDefines.hh>
#include <iostream> #include <iostream>
DISABLE_BANNED_COMPLIANCE
#include <gmm/gmm.h> #include <gmm/gmm.h>
ENABLE_BANNED_COMPLIANCE
//== FORWARDDECLARATIONS ====================================================== //== FORWARDDECLARATIONS ======================================================
//== NAMESPACES =============================================================== //== NAMESPACES ===============================================================
......
...@@ -24,8 +24,9 @@ ...@@ -24,8 +24,9 @@
#include <CoMISo/Utils/VSToolsT.hh> #include <CoMISo/Utils/VSToolsT.hh>
#include <CoMISo/Utils/StopWatch.hh> #include <CoMISo/Utils/StopWatch.hh>
DISABLE_BANNED_COMPLIANCE
#include <gmm/gmm.h> #include <gmm/gmm.h>
ENABLE_BANNED_COMPLIANCE
#include <CoMISo/Config/CoMISoDefines.hh> #include <CoMISo/Config/CoMISoDefines.hh>
//== FORWARDDECLARATIONS ====================================================== //== FORWARDDECLARATIONS ======================================================
......
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
//== INCLUDES ================================================================= //== INCLUDES =================================================================
#include <CoMISo/Utils/StopWatch.hh> #include <CoMISo/Utils/StopWatch.hh>
DISABLE_BANNED_COMPLIANCE
#include <gmm/gmm.h> #include <gmm/gmm.h>
ENABLE_BANNED_COMPLIANCE
#include "NProblemInterface.hh" #include "NProblemInterface.hh"
#include <CoMISo/Config/CoMISoDefines.hh> #include <CoMISo/Config/CoMISoDefines.hh>
......
...@@ -44,8 +44,9 @@ ...@@ -44,8 +44,9 @@
#include <queue> #include <queue>
#include <CoMISo/Utils/StopWatch.hh> #include <CoMISo/Utils/StopWatch.hh>
#include <CoMISo/Utils/VSToolsT.hh> #include <CoMISo/Utils/VSToolsT.hh>
DISABLE_BANNED_COMPLIANCE
#include <gmm/gmm.h> #include <gmm/gmm.h>
ENABLE_BANNED_COMPLIANCE
//== NAMESPACES =============================================================== //== NAMESPACES ===============================================================
......
...@@ -35,8 +35,9 @@ ...@@ -35,8 +35,9 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
DISABLE_BANNED_COMPLIANCE
#include <gmm/gmm.h> #include <gmm/gmm.h>
ENABLE_BANNED_COMPLIANCE
#if COMISO_SUITESPARSE_AVAILABLE #if COMISO_SUITESPARSE_AVAILABLE
#include <cholmod.h> #include <cholmod.h>
#endif #endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment