Closed
Bug 6535
Opened 26 years ago
Closed 26 years ago
Tons of compiler warnings in gfx/src/ps
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
VERIFIED
FIXED
M7
People
(Reporter: dead, Assigned: dcone)
Details
I've noticed that in gfx/src/ps, the <font>.h files generate pages and pages of
compiler warnings complaining about "aggregate has a partly bracketed
initializer.". What it's complaining about, I believe, is that
AFMCourierChars[] is an array of AFMscm structs, but is initialized as one large
array. It seems like the correct fix is to group each struct with brackets,
i.e.:
AFMscm AFMCourierChars[] = {
{
32,
600.000000,
0.000000,
0.000000,
0.000000,
0.000000,
0.000000,
0.000000,
0.000000
}
{
33,
600.000000,
0.000000,
0.000000,
0.000000,
236.000000,
-15.000000,
364.000000,
572.000000
}
...etc...
However, this file is automatically generated, as it says in the header, from
afmgen.exe. Is this file in the source tree anywhere? I can't find it. Plus,
I'm building on Linux so I probably couldn't run it. Anyway, this needs to be
fixed at wherever this file is being generated at.
Reporter | ||
Comment 1•26 years ago
|
||
Oops, forgot commas between the struct's, i.e.:
....
0.000000,
0.000000
},
{
33,
600.000000,
....
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Target Milestone: M7
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 2•26 years ago
|
||
I would like to verify this report but not sure what I can do.
You need to log in
before you can comment on or make changes to this bug.
Description
•