]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix standalone header compilation in C++03 mode. 3279/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 25 Oct 2016 01:27:42 +0000 (21:27 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 25 Oct 2016 01:27:42 +0000 (21:27 -0400)
Older versions of boost manage to include cstdio, though newer versions
do not. This header needs cstdio so include it directly.

include/deal.II/lac/vector_operations_internal.h

index 54167ff4d6d0ca7ab62f2e574eeb4100b57aacfe..bcf9f97e49123d2528f1bd7a70117b5a1608785c 100644 (file)
@@ -22,6 +22,8 @@
 #include <deal.II/base/thread_management.h>
 #include <deal.II/base/vectorization.h>
 
+#include <cstdio>
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace internal

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.