aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-12-11 19:39:01 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-12-11 19:39:01 +0100
commit494a88685ee995b34da0f3b79a68fa06c0ee63ff (patch)
treef2e15f8e4c4003ae9d4203d83de651a7ab7914ab /doc
parent9a8c16810be4e4859152789e125fbbcce6c0aeb3 (diff)
Fixed the bad fix - now the unsupported examples and snippets work on windows.
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt2
-rw-r--r--doc/snippets/MatrixBase_extract.cpp4
-rw-r--r--doc/snippets/MatrixBase_marked.cpp4
-rw-r--r--doc/snippets/MatrixBase_part.cpp4
4 files changed, 10 insertions, 4 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 1d20a6075..af756a516 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -63,7 +63,7 @@ add_custom_target(
)
add_dependencies(doc-eigen-prerequisites all_snippets all_examples)
-# add_dependencies(doc-unsupported-prerequisites unsupported_snippets unsupported_examples)
+add_dependencies(doc-unsupported-prerequisites unsupported_snippets unsupported_examples)
add_custom_target(doc ALL
COMMAND doxygen Doxyfile-unsupported
COMMAND doxygen
diff --git a/doc/snippets/MatrixBase_extract.cpp b/doc/snippets/MatrixBase_extract.cpp
index a5ccd7574..c96220f72 100644
--- a/doc/snippets/MatrixBase_extract.cpp
+++ b/doc/snippets/MatrixBase_extract.cpp
@@ -1,4 +1,6 @@
-#warning deprecated
+#ifndef _MSC_VER
+ #warning deprecated
+#endif
/* deprecated
Matrix3i m = Matrix3i::Random();
cout << "Here is the matrix m:" << endl << m << endl;
diff --git a/doc/snippets/MatrixBase_marked.cpp b/doc/snippets/MatrixBase_marked.cpp
index f536773c9..f60712178 100644
--- a/doc/snippets/MatrixBase_marked.cpp
+++ b/doc/snippets/MatrixBase_marked.cpp
@@ -1,4 +1,6 @@
-#warning deprecated
+#ifndef _MSC_VER
+ #warning deprecated
+#endif
/*
Matrix3d m = Matrix3d::Zero();
m.part<Eigen::UpperTriangular>().setOnes();
diff --git a/doc/snippets/MatrixBase_part.cpp b/doc/snippets/MatrixBase_part.cpp
index 81e66c4cd..d3e7f482e 100644
--- a/doc/snippets/MatrixBase_part.cpp
+++ b/doc/snippets/MatrixBase_part.cpp
@@ -1,4 +1,6 @@
-#warning deprecated
+#ifndef _MSC_VER
+ #warning deprecated
+#endif
/*
Matrix3d m = Matrix3d::Zero();
m.part<Eigen::StrictlyUpperTriangular>().setOnes();