diff options
author | Eike Rathke <erack@redhat.com> | 2015-01-05 22:28:34 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-01-06 11:40:23 +0100 |
commit | 549b7fad48bb9ddcba7dfa92daea6ce917853a03 (patch) | |
tree | 6a707369b9db7c24e2737b789cffa2278dd003e1 /vcl/unx | |
parent | 5c0e20240a8e55972e5f46b7f9f5c0d8f9733924 (diff) |
workaround a weird gcc optimization werror bug
gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1)
framework/source/fwe/classes/addonsoptions.cxx: In member function ‘void framework::AddonsOptions_Impl::ReadAndAssociateImages(const rtl::OUString&, const rtl::OUString&)’:
framework/source/fwe/classes/addonsoptions.cxx:267:16: error: array subscript is above array bounds [-Werror=array-bounds]
struct ImageEntry
^
The combination of aScaled[2]; aImage[2]; aURL[2] in sequence apparently lead
to some overoptimization and/or alignment problem, already declaring aImage[3]
helped (but not aScaled[3]), but that's not what we want.
Change-Id: I82e28d4887ab8072a17d0a9341d322c1cf61aedc
Diffstat (limited to 'vcl/unx')
0 files changed, 0 insertions, 0 deletions