Closed simonjwright closed 6 years ago
Hi Simon,
This is because of a new check in GNAT Community 2018.
A better fix for it is to create a body for the function and flag the parameters as unreferenced.
That's what I did in the community_2018 branch that is not yet merged : https://github.com/AdaCore/Ada_Drivers_Library/commit/dd0cbf3a2175ecbd16adeee6cd5b62bb5e7a0502
Fabien, OK, of course.
Aside -- the other changes on that branch don’t seem to have much to do with CE2018?
Actually they do because we have ZFP runtimes for the micro:bit and HiFive1 that requires changes in Ada Drivers Library.
However, I will split the branch to have this fix integrated ASAP.
I’m building using the project wizard, for Crazyflie, which compiles with
-gnatwe
, giving