Screen/WindowStyle: workaround for gcc optimization bug2010-08-24
commit501a64da1249aef85e23819c2a0fc5f6a586e0ab
authorMax Kellermann <max@duempel.org>
Mon, 23 Aug 2010 20:47:02 +0000 (23 22:47 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 23 Aug 2010 20:47:02 +0000 (23 22:47 +0200)
tree533ec120259fc25878634bd1ed43f9a07766a918
parent062f25f3e2b7e118966326a9b8d0a37a56cf2f0d
Screen/WindowStyle: workaround for gcc optimization bug

When optimizing for XScale, it seems that gcc (4.4.0, mingw32ce 0.59)
trips over a bug: the copy constructor does not copy the two bool
attributes properly when called from a derived class.  By padding the
class with two additional dummy bytes, the bug disappears.
src/Screen/Window.hpp