[Bug 3252] New: Ecc considers all #ifndef macro as include guards #ifndef


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=3252

Bug ID: 3252
Summary: Ecc considers all #ifndef macro as include guards
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Lowest
Component: Tools
Assignee: unassigned@tianocore.org
Reporter: pierre.gondois@arm.com
CC: edk2+bugs+int+994+563148131503455288@groups.io

The Ecc tool checks the format of the include guard. This check is currently
done on all the names following the '#ifndef' statement. It should only be done
on the first include guard.

It is possible to reproduce this by running:
./BaseTools/BinWrappers/PosixLike/Ecc -c
BaseTools/Source/Python/Ecc/config.ini -e
BaseTools/Source/Python/Ecc/exception.xml -t
DynamicTablesPkg/Include/Library/AmlLib/ -r Ecc_file.xls

--
You are receiving this mail because:
You are on the CC list for the bug.

Join bugs@edk2.groups.io to automatically receive all group messages.