Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Supporting C++17
Supporting C++17 [message #50441] Wed, 31 October 2018 10:48 Go to next message
fermium is currently offline  fermium
Messages: 4
Registered: October 2018
Junior Member
When I tried to compile my C++17 project, I got errors:
Core/heap.cpp (249): error: ISO C++1z does not allow dynamic exception specifications
 (): void *operator new(size_t size) throw (std::bad_alloc)             { void *ptr = UPP::MemoryAlloc(size); return ptr; }

Core/heap.cpp (252): error: ISO C++1z does not allow dynamic exception specifications
 (): void *operator new[](size_t size) throw(std::bad_alloc)           { void *ptr = UPP::MemoryAlloc(size); return ptr; }


Will C++17 support be added?

Re: Supporting C++17 [message #50445 is a reply to message #50441] Wed, 31 October 2018 12:46 Go to previous message
mirek is currently offline  mirek
Messages: 11561
Registered: November 2005
Ultimate Member
fermium wrote on Wed, 31 October 2018 10:48
When I tried to compile my C++17 project, I got errors:
Core/heap.cpp (249): error: ISO C++1z does not allow dynamic exception specifications
 (): void *operator new(size_t size) throw (std::bad_alloc)             { void *ptr = UPP::MemoryAlloc(size); return ptr; }

Core/heap.cpp (252): error: ISO C++1z does not allow dynamic exception specifications
 (): void *operator new[](size_t size) throw(std::bad_alloc)           { void *ptr = UPP::MemoryAlloc(size); return ptr; }


Will C++17 support be added?



Definitely. I believe this is the only thing that needs to be fixed...

Mirek
Previous Topic: Help!!! Building 32 bit apps on Ubuntu64
Next Topic: Technology lab vs External resources
Goto Forum:
  


Current Time: Wed Dec 19 16:53:05 CET 2018

Total time taken to generate the page: 0.00697 seconds