Bug 691842 - gcc warns about comparison between ‘pdf_token_e’ and ‘enum <anonymous>’
Summary: gcc warns about comparison between ‘pdf_token_e’ and ‘enum <anonymous>’
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: unspecified
Hardware: PC Linux
: P4 minor
Assignee: Tor Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 20:12 UTC by James Cloos
Modified: 2011-02-02 12:19 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2010-12-16 20:12:22 UTC
I don’t know whether this warning is something which may become an error in future versions, but just in case:

mupdf/pdf_cmap_parse.c: In function ‘pdf_parsecodespacerange’:
mupdf/pdf_cmap_parse.c:121:11: warning: comparison between ‘pdf_token_e’ and ‘enum <anonymous>’

It complains at each instance of a comparison between a pdf_token_e variable and the anonymous enum declared at the top of pdf_cmap_parse.c.