Hello Filip and other Jallib users,
I found out that the problem is caused by the fact that the pic_data_eeprom
library is using 'inline' statements for all procedures and functions.
When I remove those, it all works fine.
So the compiler has an issue with the use of 'inline' in this specific
situation since it does not always happen.
I can do 2 things:
-
Analyze the compiler issue with the use on 'inline' for this specific situation and solve
it.
-
Adapt the pic_data_eeprom library by removing all 'inline' statements.
Options 2 is the quickest but I will have a look at option 1 too.
I wonder why this libarary uses 'inline' statements since in my opinion (but please share your thoughts on this) you would use 'inline' only in situations that require high speeds (since a call is replaced by putting the actual code in) or is there another
reason to use it?
Let me know if you are OK by temporary removing 'inline' from this library or wait for option 1).
I updated the compiler issue with this latest update.
Thanks
Kind regards,
Rob