- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page