Labels as values in C++ for Windows

Labels as values in C++ for Windows

I know the Intel C++ Compiler forLinux supports "labels as values" but I can't find information about its support in the C++ compiler for Windows. I know that that Visual C++ does NOT support labels as values (a.k.a. computed gotos), and I am hoping that the Intel C++ compiler for Windows does.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

My suggestion is to file a feature request via Premier supportto enable turning this support on under Windows.

In the short term, you might just trythis switch under Windows:
-Qoption,cpp,--gcc

No guarantee that it will work (I don't have easy access to a windows compiler) and the feature is definitely not supported, but it may be worth some mileage.

Max

Leave a Comment

Please sign in to add a comment. Not a member? Join today