Can‘t compile esp_idf?
Posted: Mon Jun 12, 2017 9:20 am
hi,all,
I has update the esp_idf today, It has three months since last update. I try to compile the latest esp_idf but failed.
The error information is:
include/esp_assert.h:23:28: error: first argument to '__builtin_choose_expr' not a constant
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG); \
I have no idea how to fix the error.
Does anyone can give me some suggestion?
I has update the esp_idf today, It has three months since last update. I try to compile the latest esp_idf but failed.
The error information is:
include/esp_assert.h:23:28: error: first argument to '__builtin_choose_expr' not a constant
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG); \
I have no idea how to fix the error.
Does anyone can give me some suggestion?