Windows alignment warnings

Issue #393 new
Frank Dellaert created an issue

When building check target on MSVC 2017, still many warnings about alignment. Same for several examples. Many seem related to numericalDerivative.

Warnings do not seem to affect running examples.

Looking for Windows user to look into.

Comments (1)

  1. José Luis Blanco-Claraco

    Hi,

    I've fixed this in another project with an target_compile_definitions. It could be solved with:

    if (MSVC)
            target_compile_definitions(gtsam PUBLIC -D_ENABLE_EXTENDED_ALIGNED_STORAGE)
    endif()
    

    Cheers

  2. Log in to comment