While doing the step ./install.h in the data loader, I get the following set of errors:
coviar_data_loader.c:431:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:436:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:443:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:448:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:455:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:496:5: error: void function 'count_frames' should not return a value [-Wreturn-type]
return 0;
Do I change the return type of count_frames function to int? Based on the usage of the function, it doesn't seem that this change will affect the behaviour of the code.
While doing the step ./install.h in the data loader, I get the following set of errors:
coviar_data_loader.c:431:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:436:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:443:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:448:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:455:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:496:5: error: void function 'count_frames' should not return a value [-Wreturn-type]
return 0;
Do I change the return type of count_frames function to int? Based on the usage of the function, it doesn't seem that this change will affect the behaviour of the code.