Skip to content

error: ‘uint_farptr_t’ was not declared in this scope #5

@briceparent

Description

@briceparent

Hello!
After installing Code blocks 13.12 on a fresh ubuntu install (13.10), and making the changes for CodeBlocks-Arduino (and installing build-essentials and libc6-dev-i386 as I'm running a 64bits system), I've created a new test project using the same settings as the ones founds in the Arduino IDE (which works fine) : serial port, programmer, arduino type.
After that, when I try to compile, i'm getting the following compilation errors :
/usr/lib/gcc/avr/4.7.2/../../../avr/include/avr/pgmspace.h:1067:26: error: ‘uint_farptr_t’ was not declared in this scope
/usr/lib/gcc/avr/4.7.2/../../../avr/include/avr/pgmspace.h:1068:27: error: ‘uint_farptr_t’ was not declared in this scope
/usr/lib/gcc/avr/4.7.2/../../../avr/include/avr/pgmspace.h:1068:53: error: expected primary-expression before ‘len’
/usr/lib/gcc/avr/4.7.2/../../../avr/include/avr/pgmspace.h:1068:58: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/lib/gcc/avr/4.7.2/../../../avr/include/avr/pgmspace.h:1069:37: error: ‘uint_farptr_t’ has not been declared (repeated many times)
Is this a bug or did I do something wrong?

Thanks for our time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions