Skip to content

error: 'pgm_read_ptr' was not declared in this scope #1536

Closed
@Talkwondo

Description

@Talkwondo

Hello,
I am trying to work with arduino cure due and get this weird error:

there are no arguments to 'pgm_read_ptr' that depend on a template parameter, so a declaration of 'pgm_read_ptr' must be available [-fpermissive]

return reinterpret_cast(pgm_read_ptr(p));
in the gmspace_generic.hpp

also,
error: 'pgm_read_ptr' was not declared in this scope

how to fix it?

thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions