^

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

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

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

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 Created
Last Updated 01/03/2010
Status Active
Type
Tools
  • EDK - 10.1 sp2
  • EDK - 10.1
  • EDK - 10.1 sp1
  • More
  • EDK - 10.1 sp3
  • EDK - 11.1
  • EDK - 11.2
  • Less
IP
  • Microblaze
  • PowerPC 405 (Virtex-4)
  • PowerPC 405 (Virtex-II Pro)
  • PowerPC 440
Feed Back