Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what is the template header and what's the error in my prog

Status
Not open for further replies.

Alexander Yin

Junior Member level 2
Junior Member level 2
Joined
May 29, 2007
Messages
21
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Finland
Activity points
1,450
help! templete header

Hi,

I tried to run a program provided by ARM. It worked on Microsoft Visual Studio 2005, however, when I tried to execute it on Linux, there are some problems. The error message that I got is:
/home/yinwei/CASI/CASI_Generic_Specification_SW/src/libcasi/CASISignal.cpp:22: error: template header not allowed in member definition of explicitly specialized class

The code segment that the error points to is
#ifdef WIN32
const char* const sc_port<casi_signal_if,1>::kind_string = "sc_port";
#else
template <>
const char* const sc_port<casi_signal_if,1>::kind_string = "sc_port";
#endif

Could anybody first tell me what is the template header and tell me what's the error in this program?

The complete program is attached in the this post, but it need systemC to execute. It's the demonstration program of AMBA AXI protocol.

Thank you.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top