Incomplete C++14 support. Failure to Link.
The CrossStudio UI and GCC version allow the selection of C++14 code via the '-std=gnu++14' and associated compiler options. Presumably this means that C++14 code is supported.
At the very least, the documentation for the libcpp implementation needs to be updated to address what does and does not work.
Unfortunately, my application does not link out of the box due to missing standard library symbols. Some investigation indicates that it appears that the 'libcpp' shipped with CrossStudio is not C++14 compliant.
Specifically, there is no definition of void operator delete( void*, size_t ).
This article addresses the changes between C++11 and C++14: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3663.html.
We are not using new/delete in our code, but the compiler is still emitting references to the delete operator for virtual destructors.
We have a workaround, however a fix in the libcpp should be implemented.
Please sign in to leave a comment.
Comments
0 comments