Gentoo's Bugzilla –
Attachment 397054 Details for
Bug 540780app-office/libreoffice-4.4.0.3 - In file included from .../work/libreoffice-4.4.0.3/sot/source/sdstor/stgelem.cxx:22: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/predefined_ops.h:140:37: error: expected ‘)’ before ‘::’ token