Skip to content

ISO C++ forbids declaration of 'callback_Function' with no type [-fpermissive] 60 | (*callback_Function)(); #3

Description

@mikepdiy

Hi there,

Awesome library and it compiles well for AVR boards for for SAMD (m0) boards gives an error .
I have tried to compile on:
Arduino 1.8.13
MacOS Catalina 10.15.7
Latest version of the library

Full error:
In file included from /var/folders/vw/gvtyfvy50bj0jkk29_hdnx9m0000gn/T/arduino_modified_sketch_77544/ReadAndWriteConfigFileExample.ino:20:
/Users/mike/Documents/Arduino/libraries/SDConfigCommand/src/SDConfigCommand.h:60:26: error: ISO C++ forbids declaration of 'callback_Function' with no type [-fpermissive]
60 | (*callback_Function)();
| ^
exit status 1
Error compiling for board Adafruit QT PY (SAMD21).

I am a novice so please tell me if there is something that I would have to change on my side.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions