I used VS code to compile the program. However, I have an error. Have you encountered this problem before?
@

"expression must have a constant value
#define PROPOSITION(_antecedent,_consequent) {.antecedent = (FuzzyAntecedent_t[])_antecedent, .num_antecedents = sizeof((FuzzyAntecedent_t[])_antecedent) / sizeof(FuzzyAntecedent_t), .consequent = _consequent}
Define a macro to create a fuzzy rule "
I think your example might not be correct. If that's not the case, did I make a mistake?
Thanks.
I used VS code to compile the program. However, I have an error. Have you encountered this problem before?

@
"expression must have a constant value
#define PROPOSITION(_antecedent,_consequent) {.antecedent = (FuzzyAntecedent_t[])_antecedent, .num_antecedents = sizeof((FuzzyAntecedent_t[])_antecedent) / sizeof(FuzzyAntecedent_t), .consequent = _consequent}
Define a macro to create a fuzzy rule "
I think your example might not be correct. If that's not the case, did I make a mistake?
Thanks.