Commit 29bc082b authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Pre-declare the sump structure to avoid warnings when the whole dumping...

Pre-declare the sump structure to avoid warnings when the whole dumping mechanism is not available. Remove the '-malign-double' flag from the clang  compilation line.
parent 998b0976
......@@ -150,8 +150,7 @@ if test "$ac_test_CFLAGS" != "set"; then
# default optimization flags for clang on all systems
CFLAGS="-O3 -fomit-frame-pointer"
# -malign-double for x86 systems
AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double")
# Always good optimisation to have
AX_CHECK_COMPILE_FLAG(-fstrict-aliasing, CFLAGS="$CFLAGS -fstrict-aliasing")
# note that we enable "unsafe" fp optimization with other compilers, too
......
......@@ -20,9 +20,11 @@
#define SWIFT_LOGGER_H
/* Includes. */
#include "dump.h"
#include "part.h"
/* Forward declaration */
struct dump;
/**
* Logger entries contain messages representing the particle data at a given
* point in time during the simulation.
......
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