"NOT DECLARED IN THIS SCOPE

"Positive" not declared in this scope????? using the 12cLCDguessor sketch. completely baffled! Error Line - typeof__(POSITIVE) pol;

/*

  • Bit positions on i2c expander output port for LCD pins
    */
    typedef struct
    {
    uint8_t en;
    uint8_t rw;
    uint8_t rs;
    uint8_t d4;
    uint8_t d5;
    uint8_t d6;
    uint8_t d7;
    uint8_t bl;
    typeof(POSITIVE) pol; // use typeof() for backward compability since polarity type name changed
    } IICexpdata;

IICexpdata i2cparam[] = {
// EN, RW, RS, D4, D5, D6, D7, BL, POL
{ 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE }, // YwRobot/DFRobot/SainSmart
{ 2, 1, 0, 4, 5, 6, 7, 3, NEGATIVE }, // Robot Arduino LCM1602/2004
{ 4, 5, 6, 0, 1, 2, 3, 7, NEGATIVE }, // MJKDZ board
{ 6, 5, 4, 0, 1, 2, 3, 7, NEGATIVE }, // I2CIO board modded for backlight (pnp transistor)
{ 6, 5, 4, 0, 1, 2, 3, 7, POSITIVE }, // I2CIO board modded for backlight (npn transistor)
{ 4, 5, 6, 0, 1, 2, 3, 7, POSITIVE }, // (extra combination of MJKDZ just in case...)
{0xff} // end of guess table
};

"Positive" not declared in this scope

C is case-sensitive, so "Positive" is not the same as "POSITIVE".

If you want more than snippets of answers, post more than snippets of code.
Don't forget to use code tags.

Follow the instructions in the guesser sketch.
It tells you the other s/w components you need.
I'm guessing that you skipped step #1 or didn't install the other s/w correctly.

--- bill

It is a possibility Bill.....Will try again for the 500th time....

The guesser sketch uses fm's library.
If it isn't installed, you will that message.

The core issue of this "funky" error message is that
in some of the recent versions of gcc the C++ compiler
does not consider the inability to find an include file a
fatal error but rather a warning.
I'd love to shoot the guy that made this change to the compiler.

This is compounded by the problem that the Arduino guys have
so many warnings in their code that they turn off all the warnings by default
so the warning about the missing header file is not seen.

Install fm's library and it should work.

--- bill