Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Praetorius, Simon
dune-dec
Commits
1ff9afe2
Commit
1ff9afe2
authored
Oct 27, 2017
by
Praetorius, Simon
Browse files
removed several warnings, by including Eigen as a system library
parent
210d43c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
cmake/modules/FindEigen3.cmake
View file @
1ff9afe2
...
...
@@ -103,6 +103,6 @@ endif(EIGEN3_INCLUDE_DIR)
if
(
EIGEN3_FOUND
)
dune_register_package_flags
(
COMPILE_DEFINITIONS
"ENABLE_EIGEN3=1"
"DEC_HAS_EIGEN=1"
INCLUDE_DIRS
"
${
EIGEN3_INCLUDE_DIR
}
"
)
)
include_directories
(
SYSTEM
"
${
EIGEN3_INCLUDE_DIR
}
"
)
endif
()
dune/dec/utility/Filesystem.cpp
View file @
1ff9afe2
...
...
@@ -18,6 +18,9 @@
#include <dune/dec/common/Output.hpp>
template
<
class
...
Args
>
void
inline
_ignore_
(
Args
&&
...)
{}
namespace
Dec
{
namespace
filesystem
{
std
::
string
path
::
string
()
const
...
...
@@ -120,7 +123,7 @@ bool path::is_directory() const
path
current_path
()
{
char
cwd_
[
FILENAME_MAX
];
GET_CURRENT_DIR
(
cwd_
,
sizeof
(
cwd_
));
_ignore_
(
GET_CURRENT_DIR
(
cwd_
,
sizeof
(
cwd_
))
)
;
std
::
string
cwd
(
cwd_
);
return
{
trim
(
cwd
)
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment