Skip to content

Instantly share code, notes, and snippets.

@R-Goc
Created July 18, 2024 22:05
Show Gist options
  • Save R-Goc/f2f6b5b093b378b319164d8effe2ef3b to your computer and use it in GitHub Desktop.
Save R-Goc/f2f6b5b093b378b319164d8effe2ef3b to your computer and use it in GitHub Desktop.
Errors in PDFFilter
12>------ Rebuild All started: Project: PdfFilter, Configuration: Release x64 ------
12>In file included from ..\src\EngineMupdf.cpp:5:
12>In file included from ..\mupdf\include\mupdf/fitz.h:33:
12>..\mupdf\include\mupdf/fitz/context.h(891,32): warning : unused parameter 'ctx' [-Wunused-parameter]
12>..\mupdf\include\mupdf/fitz/context.h(906,33): warning : unused parameter 'ctx' [-Wunused-parameter]
12>In file included from ..\src\EngineMupdf.cpp:5:
12>In file included from ..\mupdf\include\mupdf/fitz.h:34:
12>In file included from ..\mupdf\include\mupdf/fitz/output.h:30:
12>..\mupdf\include\mupdf/fitz/stream.h(501,47): warning : unused parameter 'ctx' [-Wunused-parameter]
12>..\mupdf\include\mupdf/fitz/stream.h(621,45): warning : unused parameter 'ctx' [-Wunused-parameter]
12>..\src\RegistrySearchFilter.cpp(48,23): warning : comparison of integers of different signs: 'int' and 'unsigned long long' [-Wsign-compare]
12>..\src\RegistrySearchFilter.cpp(77,23): warning : comparison of integers of different signs: 'int' and 'unsigned long long' [-Wsign-compare]
12>In file included from ..\src\ifilter\PdfFilter.cpp:15:
12>..\src\ifilter/FilterBase.h(166,25): warning : field 'm_iText' will be initialized after field 'm_pStream' [-Wreorder-ctor]
12>..\src\ifilter/FilterBase.h(184,17): warning : missing field 'dwOffset' initializer [-Wmissing-field-initializers]
12>In file included from ..\src\ifilter\PdfFilter.cpp:17:
12>..\src\ifilter/PdfFilter.h(21,20): warning : 'GetClassID' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
12>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\objidl.h(9819,43): note: overridden virtual function is here
12>..\src\EngineMupdf.cpp(149,62): warning : unused parameter 'outline' [-Wunused-parameter]
12>..\src\EngineMupdf.cpp(526,52): warning : '&' within '|' [-Wbitwise-op-parentheses]
12>..\src\EngineMupdf.cpp(526,52): note: place parentheses around the '&' expression to silence this warning
12>..\src\EngineMupdf.cpp(527,44): warning : '&' within '|' [-Wbitwise-op-parentheses]
12>..\src\EngineMupdf.cpp(527,44): note: place parentheses around the '&' expression to silence this warning
12>..\src\EngineMupdf.cpp(519,36): warning : unused parameter 'line' [-Wunused-parameter]
12>..\src\EngineMupdf.cpp(699,29): warning : '&&' within '||' [-Wlogical-op-parentheses]
12>..\src\EngineMupdf.cpp(699,29): note: place parentheses around the '&&' expression to silence this warning
12>..\src\EngineMupdf.cpp(764,48): warning : '&&' within '||' [-Wlogical-op-parentheses]
12>..\src\EngineMupdf.cpp(764,48): note: place parentheses around the '&&' expression to silence this warning
12>..\src\EngineMupdf.cpp(1077,12): warning : variable 'imageIdx' set but not used [-Wunused-but-set-variable]
12>..\src\EngineMupdf.cpp(1137,46): warning : unused parameter 'ctx' [-Wunused-parameter]
12>..\src\EngineMupdf.cpp(1232,56): warning : unused parameter 'doc' [-Wunused-parameter]
12>..\src\EbookDoc.cpp(1202,61): warning : '&&' within '||' [-Wlogical-op-parentheses]
12>..\src\EbookDoc.cpp(1202,61): note: place parentheses around the '&&' expression to silence this warning
12>..\src\EngineMupdf.cpp(1507,31): warning : unused parameter 'user' [-Wunused-parameter]
12>..\src\MobiDoc.cpp(925,32): warning : '&&' within '||' [-Wlogical-op-parentheses]
12>..\src\MobiDoc.cpp(925,32): note: place parentheses around the '&&' expression to silence this warning
12>..\src\EbookDoc.cpp(1284,51): warning : '&&' within '||' [-Wlogical-op-parentheses]
12>..\src\EbookDoc.cpp(1284,51): note: place parentheses around the '&&' expression to silence this warning
12>..\src\EbookDoc.cpp(1455,32): warning : '&&' within '||' [-Wlogical-op-parentheses]
12>..\src\EbookDoc.cpp(1455,32): note: place parentheses around the '&&' expression to silence this warning
12>..\src\EngineMupdf.cpp(2782,60): warning : unused parameter 'target' [-Wunused-parameter]
12>..\src\EngineMupdf.cpp(2904,13): warning : enumeration values 'View' and 'Export' not handled in switch [-Wswitch]
12>..\src\EngineMupdf.cpp(3484,1): warning : missing field 'do_snapshot' initializer [-Wmissing-field-initializers]
12>..\src\EngineMupdf.cpp(3817,55): warning : unused parameter 'e' [-Wunused-parameter]
12>..\src\EngineMupdf.cpp(3817,70): warning : unused parameter 'pageInfo' [-Wunused-parameter]
12>In file included from ..\src\ifilter\SearchFilterDll.cpp:9:
12>..\src\ifilter/FilterBase.h(166,25): warning : field 'm_iText' will be initialized after field 'm_pStream' [-Wreorder-ctor]
12>..\src\ifilter/FilterBase.h(184,17): warning : missing field 'dwOffset' initializer [-Wmissing-field-initializers]
12>In file included from ..\src\ifilter\SearchFilterDll.cpp:11:
12>..\src\ifilter/PdfFilter.h(21,20): warning : 'GetClassID' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
12>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\objidl.h(9819,43): note: overridden virtual function is here
12>..\src\ifilter\SearchFilterDll.cpp(35,90): warning : missing field 'dwOffset' initializer [-Wmissing-field-initializers]
12>..\src\ifilter\SearchFilterDll.cpp(46,13): warning : delete called on non-final 'FilterClassFactory' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
12>PdfFilter.vcxproj -> C:\Users\rysza\bin\sumatrapdf-dev\out\rel64\PdfFilter.dll
12>Done building project "PdfFilter.vcxproj".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment