error C2228 in mysqlc_preparedstatement.cxx

Eike Rathke erack at redhat.com
Thu Apr 1 22:11:59 UTC 2021


Hi himajin100000,

On Friday, 2021-04-02 05:57:18 +0900, himajin100000 (Tomoyuki Kubota) wrote:

> When I tried to build LibreOffice, I encountered the following error.
> I'm not good at C++, and I don't know how to fix this one.
> 
> C:/sources/libo-core/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx(98):
> error C2228: '.bDisposed' の左側はクラス、構造体、共用体でなければなりません

Could you please build in an English environment so we'd have at least
a chance to grasp the error message? Thanks.

Anyhow, it seems to complain about
OPreparedStatement::rBHelper.bDisposed
that is in there for over a decade now.

This is what MS says about error C2228:
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2228
which is not very helpful here.

I'd assume some precompiled headers mismatch / outdated in your build
but I've not much clue about Windows build environment.

  Eike

-- 
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20210402/e3fe08e6/attachment.sig>


More information about the LibreOffice mailing list