AR# 34061

|

11 EDK - "error: 'DestPtr' undeclared (first use in this function)"

Description

When I use the XIo_EndianNoop function, an error similar to the following occurs:

"error: 'DestPtr' undeclared (first use in this function)"

Solution

To work around this issue, open the following file and modify line 213:

C:\Xilinx\11.1\EDK\sw\XilinxProcessorIPLib\drivers\cpu_v1_12_b\src\xio.h

From:

 #define XIo_EndianNoop(Source, Destination) (*DestPtr = Source)


To:

 #define XIo_EndianNoop(Source, DestPtr) (*DestPtr = Source)

This problem is scheduled to be fixed in version 12.1 of the software.

AR# 34061
Date 05/23/2014
Status Archive
Type General Article
Tools More Less
IP More Less
People Also Viewed