Compiling gcc code in Visual Studio causes error C3646: '__attribute__': unknown override specifier
I am getting the following error: error C3646: '__attribute__': unknown override specifier Code: LEMUR_PREALIGN char _stack[ sizeof(_Type) * _Count ] LEMUR_POSTALIGN; Complete error: 1>c:\program files\indri\indri 5.9\include\indri\greedy_vector(52): error C3646: '__attribute__': unknown override specifier Additional info: I am trying to use indri.lib in Visual Studio project. Jonathan Mee The __attribute__ command is a compiler specific command to gcc. And it is used on line 52 of this file with the ((align)) command , which: Specifies a minimum alignment (in bytes) for variables of the