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: 8
Registered: October 2018
Promising 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: 13975
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: Cross compile on linux for windows
Next Topic: Several source files with executable permission...
Goto Forum:
  


Current Time: Fri Mar 29 12:23:51 CET 2024

Total time taken to generate the page: 0.01072 seconds