ithron / CortidQCT

A tool for automatic cortical shape identification for QCT scans
Academic Free License v3.0
2 stars 0 forks source link

Non strict prototype definitions in C and MATLAB bindings #44

Open ithron opened 5 years ago

ithron commented 5 years ago

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