AnsweredAssumed Answered

Having issues with bool type

Question asked by usmantanvir on Oct 26, 2016
Latest reply on Nov 14, 2016 by mhennerich

I want to be able to use the console commands for AD9361. When I build using altera I get the following error. I am not sure how to fix this. There was no stdbool.h in the /usr/include folder but I put it there. 

 

In file included from platform_altera/socal/socal.h:49:0,
from dac_core.c:44:
common.h:64:16: error: expected identifier before numeric constant
typedef enum { false, true } bool;
^
common.h:64:30: error: expected ‘;’, identifier or ‘(’ before ‘_Bool’
typedef enum { false, true } bool;
^
In file included from dac_core.c:44:0:

Outcomes