Skip to content
Snippets Groups Projects
Commit b0a2dee4 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Issue #8521: Also fixed test code that checked for preprocessor variable HAVE_BOOST

parent 4a1c7849
No related branches found
No related tags found
No related merge requests found
...@@ -31,11 +31,7 @@ ...@@ -31,11 +31,7 @@
#include <string> #include <string>
#include <iosfwd> #include <iosfwd>
//#ifdef HAVE_BOOST
# include <boost/shared_ptr.hpp> # include <boost/shared_ptr.hpp>
//#else
//# error "The Boost libraries are required. See http://www.boost.org/"
//#endif
#ifdef HAVE_BACKTRACE #ifdef HAVE_BACKTRACE
# include <Common/Backtrace.h> # include <Common/Backtrace.h>
......
...@@ -24,9 +24,6 @@ ...@@ -24,9 +24,6 @@
//# Always #include <lofar_config.h> first! //# Always #include <lofar_config.h> first!
#include <lofar_config.h> #include <lofar_config.h>
//# This code can only be compiled if Boost is available.
#ifdef HAVE_BOOST
//# Includes //# Includes
#include "Coordinates.h" #include "Coordinates.h"
#include <Common/lofar_iostream.h> #include <Common/lofar_iostream.h>
...@@ -71,5 +68,3 @@ namespace LOFAR ...@@ -71,5 +68,3 @@ namespace LOFAR
} }
} }
#endif
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
//# Always #include <lofar_config.h> first! //# Always #include <lofar_config.h> first!
#include <lofar_config.h> #include <lofar_config.h>
//# This code can only be compiled if Boost is available.
#ifdef HAVE_BOOST
//# Includes //# Includes
#include "Shapes.h" #include "Shapes.h"
#include <Common/lofar_iostream.h> #include <Common/lofar_iostream.h>
...@@ -73,5 +70,3 @@ namespace LOFAR ...@@ -73,5 +70,3 @@ namespace LOFAR
} }
} }
#endif
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
//# Always #include <lofar_config.h> first! //# Always #include <lofar_config.h> first!
#include <lofar_config.h> #include <lofar_config.h>
//# This program can only be compiled if Boost is available.
#ifdef HAVE_BOOST
//# Includes //# Includes
#include "Shapes.h" #include "Shapes.h"
#include "Coordinates.h" #include "Coordinates.h"
...@@ -89,13 +86,3 @@ int main() ...@@ -89,13 +86,3 @@ int main()
cout << endl; cout << endl;
return 0; return 0;
} }
#else
int main()
{
// Test skipped.
return 3;
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment