Je tente de porter du code de Linux vers Windows, et j'ai des problèmes.Portage C++ de Linux à Windows, '__aligned__'
Cette ligne:
uint8_t patch_[patch_size_*patch_size_] __attribute__ ((aligned (16)));
me donne:
Error C3861 'aligned': identifier not found
Error C3646 '__attribute__': unknown override specifier
Est-ce un problème Linux à Windows? Je ne peux pas trouver une définition pour aligned
ou __attribute__
n'importe où.
(Le code que je suis en train de port est: https://github.com/uzh-rpg/rpg_svo)
https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html – melpomene