Hi sirs,
New problem
------------
Building ...
/Users/sergey/src/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
[X64]
/Users/sergey/src/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c:216:33:
error: second argument to 'va_arg' is of promotable type 'UINT16' (aka
'unsigned short'); this va_arg has undefined behavior because arguments will be
promoted to 'int' [-Werror]
Segment = VA_ARG (Marker, UINT16);
~~~~~~~~~~~~~~~~^~~~~~~
/Users/sergey/src/edk2/MdePkg/Include/Base.h:488:150: note: expanded from macro
'VA_ARG'
#define VA_ARG(Marker, TYPE) ((sizeof (TYPE) < sizeof (UINTN)) ?
(TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker,
TYPE)))
^
------------
The same in lines 244, 276 and 504.
Please consider.
Wishes,
Sergey
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel