Page MenuHomePhabricator

Investigate "-pedantic-errors" for building
Open, NormalPublic


To enable a strict source code alignment, investigate if '-pedantic-errors"' could help on this. Create a task for tacking this.

Event Timeline

KenLSoft triaged this task as Normal priority.Aug 17 2019, 9:44 AM
KenLSoft created this task.
KenLSoft created this object with edit policy "KenLSoft (Ken Liu)".

Started progress on it, investigating the effect.

KenLSoft reassigned this task from KenLSoft to ChangwuShan.Sep 3 2019, 6:04 AM
KenLSoft changed the edit policy from "KenLSoft (Ken Liu)" to "Subscribers".

Fixed the bugs in secure firmware after add build flags 'pedantic-errors' to GNUARM, bypassed some issues that difficult or will take too much efforts to solve.

Flags 'pedantic-errors' just added to GNUARM compiler, and just in secure firmware.

Patches have been done are put here

It will need more discuss and work if ARMCLANG and BL2 for GNUARM are also needed to support 'pedantic-errors' flag.