- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does noexcept actually work? The release note say it does, all I get is
error : expected a ";"
C++0x is enabled and as far as I can tell the C++ Compiler 2013 is installed (Intel Software Manager seems to think so).
Thanks,
Dix
PS: Totally off-topic, please bring back a search function for the forums (or am I too blind to see it?)
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to use the -std=c++0x or -std=c+11 switch and your reference Gnu compiler must be 4.6 or later or you need to use the -gcc-version=460 switch.
GNU only supports this in 4.6 or later with the -std=c++0x switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is under Windows, so I don't have a reference GNU compiler; the same code with "noexcept" does compile under clang/OSX though. This being Windows I can only select c++0x as the language. Range-based for loops work, so the compiler is the new one and it thinks it's C++11.
It is in the release notes, that doesn't mean it's fully supported? There is a "partial" behind "Generalized constant expressions", "noexcept" is not qualified in any way. Where can I find a complete and correct list of supported C++11 features?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it looks like we need to enable the noexcept feature on Windows under /Qstd=c++0x. This has been entered in our database as a defect as
DPD200235204. Sorry for the inconvenience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When will this be released? We have a C++11 library that needs to be compiled on Windows. It uses noexcept on every function possible.

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