UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor rejapan
Visitor
105 Views
Registered: ‎10-16-2019

v++ -c doesnt' like constexpr

Hi

When I run v++ -c I get the following error:

error: unknown type name 'constexpr' constexpr size_t log2ceil(size_t n){

The error happens during high-level synthesis.

I'm using:

****** v++ v2019.2 (64-bit)
**** SW Build 2708876 on Wed Nov 6 21:39:14 MST 2019

I've used the same function with g++ before. No issues at all. What am I missing here? 

 

0 Kudos