- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have code that compiles and runs correctly with C++ 12.1. However, when I upgrade to C++ 14.0 it does not work. Values are not correct. If I turn off optimizations or leave it to minimum size, the code works. FYI it works if Use the Visual C++ compiler.
Where do I go next?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just as a follow up;
The intel compiler does not warn about unsigned signed mismatch in a for loop. And the compiler does not compile properly with optmization on. I had to change those loops and it worked fine. In 12.1 it worked. In visual c++ it works either way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
could you send the code snippets or a testcase with it? Or file an issue report at Intel Premier support with your code.
Also are you using the latest icl 14.0 update 1?
Thanks,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vetrostudios did you hit a case where it was better to use size_t than int for the loop counter?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page