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!

AR# 64193

SDK 2014.4 include sstream error

Description

When I include the C++ header file:

#include <sstream>


I get the following error:
 

c:\xilinx\sdk\2014.4\gnu\arm\nt\arm-xilinx-eabi\include\c++\4.8.3\sstream:126:11: error: macro "str" requires 2 arg

Solution

The error is due to the order of the include statements.

To work around this, put the #include <sstream> statement before the other include statements.

This will be updated in a future release so that the order does not matter.
AR# 64193
Date Created 04/08/2015
Last Updated 04/28/2015
Status Active
Type General Article
Tools
  • Vivado Design Suite - 2014.4