On 3/10/19 1:56 AM, Adriano dos Santos Fernandes wrote:
Here is a patch that changes FB_MESSAGE alignment to match Firebird
definitions.
I have purposely didn't tested for C++11 to use alignas. I think it's
better to have an error when problematic types are used and this keyword
is not available.
There is a question about others 32-bit non-Windows/non-Linux.
That code assumes only Linux is problematic now, but maybe all
non-Windows are?
For non-windows you may use configure to check for actual alignment.
Unfortunately does not guarantee what will happen when other compiler is
used on that platform.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel