Closed
Bug 585414
Opened 15 years ago
Closed 14 years ago
warning: 'main' is usually a function in jpeg/jcmainct.c
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 666621
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
600 bytes,
patch
|
Details | Diff | Splinter Review |
this has bugged me for ages.
jpeg/jcmainct.c:
In function ‘start_pass_main’:
71: warning: ‘main’ is usually a function
In function ‘process_data_simple_main’:
117: warning: ‘main’ is usually a function
In function ‘jinit_c_main_controller’:
247: warning: ‘main’ is usually a function
I know it's legal, but I'm on a crusade and we really don't need this warning.
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #463896 -
Flags: review?(bobbyholley+bmo)
Comment 2•15 years ago
|
||
Comment on attachment 463896 [details] [diff] [review]
patch
We're about to replace libjpeg anyway, so I don't want to take this patch right now. Can you rebase/reflag after bug 573948 lands?
Attachment #463896 -
Flags: review?(bobbyholley+bmo)
Updated•14 years ago
|
Whiteboard: [build_warning]
Updated•14 years ago
|
Blocks: buildwarning
Comment 3•14 years ago
|
||
I think we have the same warning with libjpeg-turbo. If you want to fix the warning, you'll also need to update the patch we apply to the libjpeg-turbo source.
Comment 4•14 years ago
|
||
It's a duplicate of bug 666621.
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•