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)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

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.
Oops, forgot commas between the struct's, i.e.: .... 0.000000, 0.000000 }, { 33, 600.000000, ....
Status: NEW → ASSIGNED
Target Milestone: M7
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I would like to verify this report but not sure what I can do.
Fixed in the June 14th Build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.