Skip to content
Snippets Groups Projects
Commit 64c5dd25 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

options: make GCC shut up on changed ordering of bitfields in 4.4

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5128 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent d3a8e351
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
DUMUXDIR=$(find $OLDPWD -name "dune.module" | xargs grep -El '[[:space:]]*Module:[[:space:]]*dumux[[:space:]]*$' | sed "s/dune.module//")
# configure flags
CONFIGURE_FLAGS="CXXFLAGS=\"-I$DUMUXDIR -Wall -Wno-sign-compare -fno-strict-aliasing -g\" \
CONFIGURE_FLAGS="CXXFLAGS=\"-I$DUMUXDIR -Wall -Wno-sign-compare -Wno-packed-bitfield-compat -fno-strict-aliasing -g\" \
--enable-dunedevel \
--enable-documentation \
--disable-parallel \
......
......@@ -414,7 +414,7 @@ public:
private:
// this is a bitfield structure!
struct __packed__ {
struct __attribute__((__packed__)) {
unsigned char visited : 1;
unsigned char isDirichlet : 1;
unsigned char isNeumann : 1;
......
......@@ -2,7 +2,7 @@
DUMUXDIR=$(find $OLDPWD -name "dune.module" | xargs grep -El '[[:space:]]*Module:[[:space:]]*dumux[[:space:]]*$' | sed "s/dune.module//")
# configure flags
CONFIGURE_FLAGS="CXXFLAGS=\"-I$DUMUXDIR -Wall -Wno-sign-compare -fno-strict-aliasing -O3 -march=native -DNDEBUG\" \
CONFIGURE_FLAGS="CXXFLAGS=\"-I$DUMUXDIR -Wall -Wno-sign-compare -Wno-packed-bitfield-compat -fno-strict-aliasing -O3 -march=native -DNDEBUG\" \
--disable-dunedevel \
--disable-documentation \
--disable-parallel \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment