Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
14 Views

fpp parse errors

I occasionally get parse errors using fpp. Usually I find a fix (sometimes having to rename symbols) but have been unable to resolve this one. The  code  extract is from a file that successfully parses and compiles but here I get a parse error on every #if line.
 

0 Kudos
1 Reply
Highlighted
14 Views

Take the "=" out of your #defines  For example, you have this:

 

#define _entry_variables               = 0
 

then later you have

#if _entry_variables > 1

By symbol substitution, this becomes:

#if =0 > 1

and that's incorrect syntax.

               --Lorri

0 Kudos