[Bug 282] New: Compiler warnings building basetools on Linux
by bugzilla-daemon@bugzilla.tianocore.org
https://bugzilla.tianocore.org/show_bug.cgi?id=282
Bug ID: 282
Summary: Compiler warnings building basetools on Linux
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Lowest
Component: Code
Assignee: michael.d.kinney(a)intel.com
Reporter: vishalo(a)qti.qualcomm.com
CC: edk2-bugs(a)lists.01.org
bits.c: In function DefErrSetForC1:
bits.c:579:5: warning: format %d expects argument of type int, but argument 5
has type long unsigned int [-Wformat]
bits.c:584:5: warning: format %d expects argument of type int, but argument 4
has type long unsigned int [-Wformat]
bits.c: In function gDefErrSetForCC1:
bits.c:645:5: warning: format %d expects argument of type int, but argument 5
has type long unsigned int [-Wformat]
bits.c:650:5: warning: format %d expects argument of type int, but argument 6
has type long unsigned int [-Wformat]
bits.c:656:5: warning: format %d expects argument of type int, but argument 5
has type long unsigned int [-Wformat]
bits.c:658:5: warning: format %d expects argument of type int, but argument 4
has type long unsigned int [-Wformat]
bits.c: In function GenParser_c_Hdr:
bits.c:796:7: warning: format %d expects argument of type int, but argument 8
has type long unsigned int [-Wformat]
bits.c: In function GenErrHdr:
bits.c:915:2: warning: format %d expects argument of type int, but argument 3
has type long unsigned int [-Wformat]
fset2.c: In function MR_backTraceReport:
fset2.c:2213:7: warning: format not a string literal and no format arguments
[-Wformat-security]
gen.c: In function genHdr:
gen.c:3869:17: warning: format not a string literal and no format arguments
[-Wformat-security]
gen.c:3914:2: warning: format %d expects argument of type int, but argument 3
has type long unsigned int [-Wformat]
gen.c: In function genStdPCCTSIncludeFile:
gen.c:4128:2: warning: format %d expects argument of type int, but argument 3
has type long unsigned int [-Wformat]
lex.c: In function DumpNextNameInDef:
lex.c:709:12: warning: format not a string literal and no format arguments
[-Wformat-security]
lex.c: In function DumpType:
lex.c:774:2: warning: format not a string literal and no format arguments
[-Wformat-security]
lex.c: In function DumpRetValStruct:
lex.c:855:3: warning: format not a string literal and no format arguments
[-Wformat-security]
lex.c:857:3: warning: format not a string literal and no format arguments
[-Wformat-security]
../support/set/set.c: In function set_val:
../support/set/set.c:557:2: warning: format %d expects argument of type int,
but argument 3 has type gsize_t [-Wformat]
Antlr parser generator Version 1.33MR33 1989-2001
VfrSyntax.g, line 1828: warning: predicate: LT(i) missing, bad, or with i=0;
assuming i=1
VfrSyntax.g, line 1833: warning: predicate: LT(i) missing, bad, or with i=0;
assuming i=1
VfrSyntax.g, line 3264: warning: alts 1 and 2 of {..} ambiguous upon ( ";"
RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf
Default GrayOutIf )
VfrSyntax.g, line 3273: warning: alts 1 and 2 of {..} ambiguous upon ( ";"
RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf
Default GrayOutIf )
VfrSyntax.g, line 3282: warning: alts 1 and 2 of {..} ambiguous upon ( ";"
RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf
Default GrayOutIf )
VfrSyntax.g, line 3292: warning: alts 1 and 2 of {..} ambiguous upon ( ";"
RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf
Default GrayOutIf )
VfrSyntax.g, line 3322: warning: alts 1 and 2 of {..} ambiguous upon ( ";"
RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf
Default GrayOutIf )
VfrSyntax.g, line 3331: warning: alts 1 and 2 of {..} ambiguous upon ( ";"
RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf
Default GrayOutIf )
../support/set/set.c: In function set_val:
../support/set/set.c:557:2: warning: format %d expects argument of type int,
but argument 3 has type gsize_t [-Wformat]
--
You are receiving this mail because:
You are on the CC list for the bug.