Skip to content

Fixes #1253 (master broken with Endian_Reverse)

Created by: germasch

CopyPayloadStride was using ADIOS2_FOREACH_PRIMITIVE_TYPE_1ARG, which includes non-stdint types like char, for which GetType<> isn't specialized anymore.

Fixing that to use ADIOS2_FOREACH_PRIMITIVE_STDTYPE then kinda exposes another bug, ie., some functions in adiosMemory.inl aren't actually declared inline and relied on being instantiated through their use in CopyPayloadStride. I added an explicit instantiation for CopyEndianReverse which makes everything work for me, but that's not really a clean fix.

Merge request reports