Skip to content

Non strict prototype definitions in C and MATLAB bindings #44

@ithron

Description

@ithron

The C headers of the C and MATLAB bindings contains functino prototype definitions which are not strict: 'void' is missing for function that take no arguments. When compiled with a pure C compiler this results in a warning:

bindings/matlab/include/CortidQCT/Matlab/CortidQCT.h:51:42: warning: this function declaration is not a prototype [-Wstrict-prototypes]
CQCT_EXTERN void CQCT_autoreleasePoolPush();
^
void

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions