hardware.c:8:5: error: conflicting types for ‘hw_maxtracks’
int hw_maxtracks = HW_MAXTRACKS;
^~~~~~~~~~~~
In file included from hardware.c:5:
hardware.h:43:21: note: previous declaration of ‘hw_maxtracks’ was here
extern unsigned int hw_maxtracks;
^~~~~~~~~~~~
hardware.c:9:5: error: conflicting types for ‘hw_currenttrack’
int hw_currenttrack = 0;
^~~~~~~~~~~~~~~
In file included from hardware.c:5:
hardware.h:44:21: note: previous declaration of ‘hw_currenttrack’ was here
extern unsigned int hw_currenttrack;
^~~~~~~~~~~~~~~
hardware.c:10:5: error: conflicting types for ‘hw_currenthead’
int hw_currenthead = 0;
^~~~~~~~~~~~~~
In file included from hardware.c:5:
hardware.h:45:21: note: previous declaration of ‘hw_currenthead’ was here
extern unsigned int hw_currenthead;
^~~~~~~~~~~~~~
It was complaining about unsigned versus (implicitly) signed int mismatch.
I tried compiling this on the following configuration:
And received the following errors:
It was complaining about unsigned versus (implicitly) signed int mismatch.
I created a pull request for this #16