64-bit Windows build failure: 'this' pointer for member, may not be aligned 8 as expected by the constructor

Luke Benes lukebenes at hotmail.com
Sun Jul 29 18:18:33 UTC 2018


Both my own builds and the 64-bit Win tinderbox @42 are now failing with the following error:


[build CXX] sw/source/filter/ww8/ww8scan.cxx

C:/core/sw/source/filter/ww8/ww8scan.cxx(8445): error C2220: warning treated as error - no 'object' file generated

C:/core/sw/source/filter/ww8/ww8scan.cxx(8445): note: This diagnostic occurred in the compiler generated function 'WW8_FFN::WW8_FFN(const WW8_FFN &)'

C:/core/sw/source/filter/ww8/ww8scan.cxx(8445): warning C4315: 'WW8_FFN': 'this' pointer for member 'WW8_FFN::sFontname' may not be aligned 8 as expected by the constructor

C:/core/sw/source/filter/ww8/ww8scan.cxx(8445): note: This diagnostic occurred in the compiler generated function 'WW8_FFN::WW8_FFN(const WW8_FFN &)'

make[1]:

Makefile:286: recipe for target 'build' failed

make: *** [build] Error 2


Tinderbox 42: https://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MASTER&brief-log=1532832601.8628

32-bit builds are successfully completing. 

It looks like the error was caused by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8b8fb4ac654c8f847c35b93d701ba3475662ea69

convert pFontA to std::vector



More information about the LibreOffice mailing list