Bug 691842

Summary: gcc warns about comparison between ‘pdf_token_e’ and ‘enum <anonymous>’
Product: MuPDF Reporter: James Cloos <cloos>
Component: mupdfAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

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.