Altera_Forum
Honored Contributor
14 years agoSD Card Header Problem
I'm using an SD Card core in my SOPC builder system. In my Nios II IDE program I've included the associated header file. When I build the project I get the following error:
/cygdrive/c/altera/90/ip/altera_up_sd_card_avalon_interface/HAL/inc/altera_up_sd_card_avalon_interface.h:27: error: expected identifier before "false" In altera_up_sd_card_avalon_interface.h, line 27 there is the following code: typedef enum e_bool { false = 0, true = 1 } bool; what is the problem ? I guess there should be no problem with the header files included with the IP cores and we do not need to edit them!!!!!!!!!!! tnx in advance