I always used declspec(align(#)) keyword to align data and it perfectly worked until I upgraded Xcode to 7.3.1. Now I have an error "No matching function for call to "align". I can align using "attribute" keyword. But it is not supported by Visual studio. Anybody have such problem ? May be I missed something ?
Asked
Active
Viewed 688 times
1
-
Should be a duplicate of http://stackoverflow.com/questions/7895869/cross-platform-alignx-macro – kennytm May 31 '16 at 19:28
-
Thank you for a useful link. But I don't understand why declspec(align()) was supported by the previous version of Xcode (I think it was 7.1.1). Was compiler changed to GCC in new version ? – Andrey May 31 '16 at 20:13