Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Incomplete C++11 "alignas" implementation

$
0
0

Hi,

icc 15.0 gives me a warning when compiling the following code:

template
using type alignas(64) = T;

warning #3463: alignas does not apply here
using type alignas(64) = T;

If I understand correctly my code is correct, and indeed GCC and Clang compile it properly without warnings. Is this a known issue with icc? Can I expect a fix in future versions?

Thanks,
Simon


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>