Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non strict prototype definitions in C and MATLAB bindings #44

Open
ithron opened this issue Jan 16, 2019 · 0 comments
Open

Non strict prototype definitions in C and MATLAB bindings #44

ithron opened this issue Jan 16, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@ithron
Copy link
Owner

ithron commented Jan 16, 2019

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

@ithron ithron changed the title Non struct prototype definitions in C and MATLAB bindings Non strict prototype definitions in C and MATLAB bindings Jan 16, 2019
@ithron ithron added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jan 16, 2019
ithron pushed a commit that referenced this issue Jan 16, 2019
ithron pushed a commit that referenced this issue Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant