undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Ken_SF
Earned a small fee
Earned a small fee
Posts: 16
Joined: Tue Jun 11, 2019 9:35 pm

undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by Ken_SF » Fri Sep 13, 2019 10:37 pm

Hi,

I am relatively new to C++ and am unable to resolve an "undefined reference" error to IID_Accessible in a wxpdfdocument project named makefont. I copied makefont to makefont1 and am doing my work in the makefont1 directory so I could keep the original copy of makefont undisturbed.

wxPDFDocument can be downloaded here:
https://sourceforge.net/projects/wxcode ... fDocument/

My error from the makefont project:
C:\wxWidgets-3.1.2\lib\gcc_lib\libwxmsw31u_core.a(corelib_window.o):window.cpp|| undefined reference to `IID_IAccessible'|

My makefont project includes pdffontparsetruetype.cpp and creates the .o file as part of the static build process.

I am using CodeBlocks 17.12 on Windows 7 Pro with the Mingw compiler that is delivered with CodeBlocks (gcc version 5.1.0 - tcm-1). I am using wxWidgets-3.1.2.

There are 7 tutorial projects provided by the wxPDFDocument open source project and I am able to compile and run all 7. The 7th sample project partly runs then bombs out when it tries to incorporate some fonts. That gave me the idea to work with wxpdfdocument's makefont project to see if I could first understand why Tutorial 7 was not running perfectly and how to fix the problem.

I am wondering if someone can help me get past the undefined reference error.

In this version I tried including every lib file gcc provides and every header thinking that I could side step my problem by including everything that gcc has to offer.

I didn't see a fix after adding these items:
C:\Program Files (x86)\CodeBlocks\MinGW\lib  I linked all of the .a files in this directory provided by gcc to the.
C:\Program Files (x86)\CodeBlocks\MinGW\include  I added all of these header files to my project

I was successful reducing the errors from 12 to 4 by adding selected files from the above, however, these last four errors are not making my life easy right now.

My build log is shown below.

Thanks in advance for your help.

Ken

Code: Select all

||=== Build: Release in MakeFont1 (compiler: GNU GCC Compiler) ===|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfdc29.inc|1637|warning: 'virtual void wxDCImpl::DoGetClippingBox(wxCoord*, wxCoord*, wxCoord*, wxCoord*) const' is deprecated [-Wdeprecated-declarations]|
C:\wxWidgets-3.1.2\include\wx\dc.h|461|note: declared here|
C:\wxWidgets-3.1.2\include\wx\defs.h|611|note: in definition of macro 'wxDEPRECATED'|
C:\wxWidgets-3.1.2\include\wx\dc.h|460|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY'|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcjkfontdata.inc|94|warning: 'cwPGothic' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcjkfontdata.inc|110|warning: 'cwUIGothic' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcjkfontdata.inc|126|warning: 'cwPMincho' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcorefontdata.inc|368|warning: 'gs_coreFontTable' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfprint.cpp|2072|warning: 'virtual void wxDCImpl::DoGetClippingBox(wxCoord*, wxCoord*, wxCoord*, wxCoord*) const' is deprecated [-Wdeprecated-declarations]|
C:\wxWidgets-3.1.2\include\wx\dc.h|461|note: declared here|
C:\wxWidgets-3.1.2\include\wx\defs.h|611|note: in definition of macro 'wxDEPRECATED'|
C:\wxWidgets-3.1.2\include\wx\dc.h|460|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY'|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::blockEncrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1087|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1087|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1095|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1108|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1108|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1109|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1110|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1111|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1117|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1117|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1118|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1119|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1120|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::padEncrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1181|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::blockDecrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1234|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1234|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1235|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1236|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1237|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1242|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1242|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1243|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1244|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1245|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1250|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1250|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1251|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1252|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1253|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1263|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1263|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1264|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1265|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1266|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1272|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1272|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1273|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1274|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1275|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::padDecrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1344|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1355|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::keySched(UINT8 (*)[4])':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1395|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1406|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1406|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1429|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1429|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1434|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1434|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1442|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1442|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1449|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1449|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::keyEncToDec()':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::encrypt(const UINT8*, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1483|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1483|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1484|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1484|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1485|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1485|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1486|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1486|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1487|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1488|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1489|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1490|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1491|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1492|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1493|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1494|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1495|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1496|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1497|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1498|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1499|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1500|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1501|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1502|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1505|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1505|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1506|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1506|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1507|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1507|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1508|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1508|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1510|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1511|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1512|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1513|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1514|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1515|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1516|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1517|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1518|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1519|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1520|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1521|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1522|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1523|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1524|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1525|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1527|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1527|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1528|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1528|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1529|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1529|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1530|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1530|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1547|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1548|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1549|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1550|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::decrypt(const UINT8*, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1558|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1558|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1559|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1559|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1560|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1560|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1561|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1561|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1563|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1564|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1565|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1566|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1567|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1568|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1569|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1570|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1571|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1572|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1573|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1574|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1575|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1576|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1577|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1578|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1581|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1581|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1582|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1582|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1583|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1583|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1584|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1584|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1585|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1586|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1587|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1588|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1589|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1590|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1591|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1592|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1593|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1594|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1595|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1596|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1597|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1598|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1599|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1600|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1603|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1603|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1604|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1604|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1605|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1605|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1606|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1606|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1623|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1624|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1625|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1626|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp||In member function 'bool MakeFont::MakeFontImmediate(const wxString&)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1510|warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::shortName' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::longName' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::description' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::type' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::flags' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp||In member function 'virtual bool MakeFont::OnInit()':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1605|warning: unused variable 'hasFont' [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1606|warning: unused variable 'hasEnc' [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1607|warning: unused variable 'hasPatch' [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp||In member function 'virtual int MakeFont::OnRun()':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1655|warning: variable 'valid' set but not used [-Wunused-but-set-variable]|
C:\wxWidgets-3.1.2\lib\gcc_lib\libwxmsw31u_core.a(corelib_window.o):window.cpp|| undefined reference to `IID_IAccessible'|
C:\wxWidgets-3.1.2\lib\gcc_lib\libwxmsw31u_core.a(corelib_msw_textctrl.o):textctrl.cpp|| undefined reference to `[email protected]'|
C:\wxWidgets-3.1.2\lib\gcc_lib\libwxmsw31u_core.a(corelib_msw_textctrl.o):textctrl.cpp:(.data+0x0)||undefined reference to `IID_IUnknown'|
||error: ld returned 1 exit status|
||=== Build failed: 4 error(s), 204 warning(s) (1 minute(s), 17 second(s)) ===|


User avatar
doublemax
Moderator
Moderator
Posts: 14080
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by doublemax » Fri Sep 13, 2019 11:04 pm

The missing references are inside Windows libraries. Add Oleacc.lib and Ole32.lib to the linker inputs. (liboleacc.a and libole32.a for MinGW).

If other undefined references pop up, Google "msdn + missing reference" and it will find a page that shows which library you need to add. E.g. https://docs.microsoft.com/en-us/window ... kedragdrop
Use the source, Luke!

Ken_SF
Earned a small fee
Earned a small fee
Posts: 16
Joined: Tue Jun 11, 2019 9:35 pm

Re: undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by Ken_SF » Sat Sep 14, 2019 2:43 pm

Thank you.

I am still getting the same errors.

I did learn that liboleacc.a (for my gcc compiler) was missing. I added that file to the linker's list of files and tried a rebuild with the liboleacc.a file before and after the libole32.a file.

I am using CodeBlocks and I know many don't use CodeBlocks who use this forum, however, I thought it might help to see the CodeBlocks project file as it clearly shows (in the linker section for a Release build) my linked and my include files. I have been putting the the linked gcc library files before the wxwidgets linked files thinking that those should be defined first.

The build log errors have not changed, however, I am including my most recent build log (also) for completeness. Both are below my signature line.

Thank you for the link and suggestion to search MSDN.

Ken

CodeBlocks Project File (is in xml format, refer to Release section):

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
	<FileVersion major="1" minor="6" />
	<Project>
		<Option title="MakeFont1" />
		<Option pch_mode="2" />
		<Option compiler="gcc" />
		<Build>
			<Target title="Debug">
				<Option output="bin/Debug/MakeFont1" prefix_auto="1" extension_auto="1" />
				<Option object_output="obj/Debug/" />
				<Option type="1" />
				<Option compiler="gcc" />
				<Compiler>
					<Add option="-g" />
				</Compiler>
			</Target>
			<Target title="Release">
				<Option output="bin/Release/MakeFont1" prefix_auto="1" extension_auto="1" />
				<Option object_output="obj/Release/" />
				<Option type="1" />
				<Option compiler="gcc" />
				<Option projectLinkerOptionsRelation="2" />
				<Option projectIncludeDirsRelation="2" />
				<Option projectLibDirsRelation="2" />
				<Compiler>
					<Add option="-O2" />
					<Add directory="C:/wxWidgets-3.1.2/lib/gcc_lib/mswu" />
					<Add directory="C:/PBWin10/AnsiCSamples/LearnCPP/wxWidgetsPDF/include" />
				</Compiler>
				<Linker>
					<Add option="-s" />
					<Add option="-mwindows" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/liboleacc.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libole32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libgdi32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libuser32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libkernel32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libuuid.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libadvapi32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libcomctl32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libcomdlg32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libctl3d32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/liboleaut32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/librpcrt4.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libshell32.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libwinmm.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libwinspool.a" />
					<Add library="C:/Program Files (x86)/CodeBlocks/MinGW/lib/libwsock32.a" />
					<Add library="libwxmsw31u_core.a" />
					<Add library="libwxbase31u.a" />
					<Add library="libwxbase31ud_xml.a" />
					<Add library="libwxpng.a" />
					<Add library="libwxzlib.a" />
					<Add library="libwxexpat.a" />
					<Add library="libwxregexu.a" />
					<Add library="libwxtiff.a" />
					<Add library="libwxjpeg.a" />
					<Add directory="C:/wxWidgets-3.1.2/lib/gcc_lib" />
					<Add directory="C:/PBWin10/AnsiCSamples/LearnCPP/wxWidgetsPDF/lib/gcc_lib" />
				</Linker>
			</Target>
		</Build>
		<ResourceCompiler>
			<Add directory="C:/wxWidgets-3.1.2/lib/gcc_lib/mswu" />
		</ResourceCompiler>
		<Unit filename="../include/wx/pdfannotation.h" />
		<Unit filename="../include/wx/pdfarraydouble.h" />
		<Unit filename="../include/wx/pdfarraytypes.h" />
		<Unit filename="../include/wx/pdfbarcode.h" />
		<Unit filename="../include/wx/pdfbookmark.h" />
		<Unit filename="../include/wx/pdfcffdecoder.h" />
		<Unit filename="../include/wx/pdfcffindex.h" />
		<Unit filename="../include/wx/pdfcjkfontdata.h" />
		<Unit filename="../include/wx/pdfcolour.h" />
		<Unit filename="../include/wx/pdfcoonspatchmesh.h" />
		<Unit filename="../include/wx/pdfcorefontdata.h" />
		<Unit filename="../include/wx/pdfdc.h" />
		<Unit filename="../include/wx/pdfdc28.h" />
		<Unit filename="../include/wx/pdfdc29.h" />
		<Unit filename="../include/wx/pdfdoc.h" />
		<Unit filename="../include/wx/pdfdoc_version.h" />
		<Unit filename="../include/wx/pdfdocdef.h" />
		<Unit filename="../include/wx/pdfdocument.h" />
		<Unit filename="../include/wx/pdfencoding.h" />
		<Unit filename="../include/wx/pdfencrypt.h" />
		<Unit filename="../include/wx/pdffont.h" />
		<Unit filename="../include/wx/pdffontdata.h" />
		<Unit filename="../include/wx/pdffontdatacore.h" />
		<Unit filename="../include/wx/pdffontdataopentype.h" />
		<Unit filename="../include/wx/pdffontdatatruetype.h" />
		<Unit filename="../include/wx/pdffontdatatype0.h" />
		<Unit filename="../include/wx/pdffontdatatype1.h" />
		<Unit filename="../include/wx/pdffontdescription.h" />
		<Unit filename="../include/wx/pdffontdetails.h" />
		<Unit filename="../include/wx/pdffontextended.h" />
		<Unit filename="../include/wx/pdffontmacosx.h" />
		<Unit filename="../include/wx/pdffontmanager.h" />
		<Unit filename="../include/wx/pdffontparser.h" />
		<Unit filename="../include/wx/pdffontparsertruetype.h" />
		<Unit filename="../include/wx/pdffontparsertype1.h" />
		<Unit filename="../include/wx/pdffontsubsetcff.h" />
		<Unit filename="../include/wx/pdffontsubsettruetype.h" />
		<Unit filename="../include/wx/pdffontvolt.h" />
		<Unit filename="../include/wx/pdfform.h" />
		<Unit filename="../include/wx/pdfgradient.h" />
		<Unit filename="../include/wx/pdfgraphics.h" />
		<Unit filename="../include/wx/pdfimage.h" />
		<Unit filename="../include/wx/pdfinfo.h" />
		<Unit filename="../include/wx/pdflayer.h" />
		<Unit filename="../include/wx/pdflinestyle.h" />
		<Unit filename="../include/wx/pdflinks.h" />
		<Unit filename="../include/wx/pdfobjects.h" />
		<Unit filename="../include/wx/pdfparser.h" />
		<Unit filename="../include/wx/pdfpattern.h" />
		<Unit filename="../include/wx/pdfprint.h" />
		<Unit filename="../include/wx/pdfproperties.h" />
		<Unit filename="../include/wx/pdfrijndael.h" />
		<Unit filename="../include/wx/pdfshape.h" />
		<Unit filename="../include/wx/pdfspotcolour.h" />
		<Unit filename="../include/wx/pdftemplate.h" />
		<Unit filename="../include/wx/pdfutility.h" />
		<Unit filename="../include/wx/pdfxml.h" />
		<Unit filename="../src/pdfannotation.cpp" />
		<Unit filename="../src/pdfbarcode.cpp" />
		<Unit filename="../src/pdfcffdecoder.cpp" />
		<Unit filename="../src/pdfcffindex.cpp" />
		<Unit filename="../src/pdfcjkfontdata.inc" />
		<Unit filename="../src/pdfcmapdata.inc" />
		<Unit filename="../src/pdfcodepagedata.inc" />
		<Unit filename="../src/pdfcolour.cpp" />
		<Unit filename="../src/pdfcolourdata.inc" />
		<Unit filename="../src/pdfcorefontdata.inc" />
		<Unit filename="../src/pdfcorefontkerning.inc" />
		<Unit filename="../src/pdfdc.cpp" />
		<Unit filename="../src/pdfdc28.inc" />
		<Unit filename="../src/pdfdc29.inc" />
		<Unit filename="../src/pdfdecode.cpp" />
		<Unit filename="../src/pdfdoc_version.rc">
			<Option compilerVar="WINDRES" />
		</Unit>
		<Unit filename="../src/pdfdocument.cpp" />
		<Unit filename="../src/pdfencoding.cpp" />
		<Unit filename="../src/pdfencrypt.cpp" />
		<Unit filename="../src/pdffont.cpp" />
		<Unit filename="../src/pdffontdata.cpp" />
		<Unit filename="../src/pdffontdatacore.cpp" />
		<Unit filename="../src/pdffontdataopentype.cpp" />
		<Unit filename="../src/pdffontdatatruetype.cpp" />
		<Unit filename="../src/pdffontdatatype0.cpp" />
		<Unit filename="../src/pdffontdatatype1.cpp" />
		<Unit filename="../src/pdffontdescription.cpp" />
		<Unit filename="../src/pdffontdetails.cpp" />
		<Unit filename="../src/pdffontextended.cpp" />
		<Unit filename="../src/pdffontmanager.cpp" />
		<Unit filename="../src/pdffontparser.cpp" />
		<Unit filename="../src/pdffontparsertruetype.cpp" />
		<Unit filename="../src/pdffontparsertype1.cpp" />
		<Unit filename="../src/pdffontsubsetcff.cpp" />
		<Unit filename="../src/pdffontsubsettruetype.cpp" />
		<Unit filename="../src/pdffontvolt.cpp" />
		<Unit filename="../src/pdfform.cpp" />
		<Unit filename="../src/pdfglyphnames.inc" />
		<Unit filename="../src/pdfgradient.cpp" />
		<Unit filename="../src/pdfgraphics.cpp" />
		<Unit filename="../src/pdfimage.cpp" />
		<Unit filename="../src/pdfkernel.cpp" />
		<Unit filename="../src/pdflayer.cpp" />
		<Unit filename="../src/pdfobjects.cpp" />
		<Unit filename="../src/pdfocg.cpp" />
		<Unit filename="../src/pdfparser.cpp" />
		<Unit filename="../src/pdfpattern.cpp" />
		<Unit filename="../src/pdfprint.cpp" />
		<Unit filename="../src/pdfrijndael.cpp" />
		<Unit filename="../src/pdftemplate.cpp" />
		<Unit filename="../src/pdfutility.cpp" />
		<Unit filename="../src/pdfxml.cpp" />
		<Unit filename="../src/wxmemdbg.h" />
		<Unit filename="MakeFont1.cpp" />
		<Extensions>
			<code_completion />
			<envvars />
			<debugger />
			<lib_finder disable_auto="1" />
		</Extensions>
	</Project>
</CodeBlocks_project_file>

Build Log from latest compile attempt with above project file:

Code: Select all

||=== Build: Release in MakeFont1 (compiler: GNU GCC Compiler) ===|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfdc29.inc|1637|warning: 'virtual void wxDCImpl::DoGetClippingBox(wxCoord*, wxCoord*, wxCoord*, wxCoord*) const' is deprecated [-Wdeprecated-declarations]|
C:\wxWidgets-3.1.2\include\wx\dc.h|461|note: declared here|
C:\wxWidgets-3.1.2\include\wx\defs.h|611|note: in definition of macro 'wxDEPRECATED'|
C:\wxWidgets-3.1.2\include\wx\dc.h|460|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY'|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcjkfontdata.inc|94|warning: 'cwPGothic' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcjkfontdata.inc|110|warning: 'cwUIGothic' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcjkfontdata.inc|126|warning: 'cwPMincho' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfcorefontdata.inc|368|warning: 'gs_coreFontTable' defined but not used [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::blockEncrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1087|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1087|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1095|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1108|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1108|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1109|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1110|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1111|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1117|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1117|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1118|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1119|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1120|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::padEncrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1181|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::blockDecrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1234|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1234|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1235|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1236|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1237|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1242|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1242|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1243|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1244|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1245|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1250|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1250|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1251|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1252|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1253|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1263|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1263|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1264|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1265|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1266|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1272|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1272|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1273|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1274|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1275|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'int wxPdfRijndael::padDecrypt(const UINT8*, int, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1344|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1355|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::keySched(UINT8 (*)[4])':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1395|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1406|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1406|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1429|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1429|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1434|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1434|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1442|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1442|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1449|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1449|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::keyEncToDec()':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1468|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1470|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1472|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1474|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::encrypt(const UINT8*, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1483|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1483|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1484|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1484|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1485|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1485|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1486|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1486|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1487|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1488|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1489|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1490|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1491|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1492|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1493|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1494|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1495|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1496|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1497|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1498|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1499|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1500|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1501|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1502|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1505|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1505|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1506|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1506|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1507|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1507|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1508|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1508|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1510|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1511|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1512|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1513|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1514|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1515|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1516|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1517|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1518|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1519|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1520|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1521|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1522|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1523|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1524|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1525|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1527|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1527|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1528|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1528|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1529|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1529|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1530|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1530|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1547|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1548|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1549|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1550|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp||In member function 'void wxPdfRijndael::decrypt(const UINT8*, UINT8*)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1558|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1558|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1559|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1559|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1560|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1560|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1561|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1561|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1563|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1564|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1565|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1566|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1567|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1568|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1569|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1570|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1571|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1572|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1573|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1574|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1575|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1576|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1577|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1578|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1581|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1581|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1582|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1582|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1583|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1583|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1584|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1584|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1585|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1586|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1587|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1588|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1589|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1590|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1591|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1592|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1593|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1594|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1595|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1596|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1597|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1598|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1599|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1600|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1603|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1603|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1604|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1604|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1605|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1605|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1606|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1606|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1623|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1624|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1625|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfrijndael.cpp|1626|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\src\pdfprint.cpp|2072|warning: 'virtual void wxDCImpl::DoGetClippingBox(wxCoord*, wxCoord*, wxCoord*, wxCoord*) const' is deprecated [-Wdeprecated-declarations]|
C:\wxWidgets-3.1.2\include\wx\dc.h|461|note: declared here|
C:\wxWidgets-3.1.2\include\wx\defs.h|611|note: in definition of macro 'wxDEPRECATED'|
C:\wxWidgets-3.1.2\include\wx\dc.h|460|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY'|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp||In member function 'bool MakeFont::MakeFontImmediate(const wxString&)':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1510|warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::shortName' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::longName' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::description' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::type' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1579|warning: missing initializer for member 'wxCmdLineEntryDesc::flags' [-Wmissing-field-initializers]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp||In member function 'virtual bool MakeFont::OnInit()':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1605|warning: unused variable 'hasFont' [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1606|warning: unused variable 'hasEnc' [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1607|warning: unused variable 'hasPatch' [-Wunused-variable]|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp||In member function 'virtual int MakeFont::OnRun()':|
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp|1655|warning: variable 'valid' set but not used [-Wunused-but-set-variable]|
C:\wxWidgets-3.1.2\lib\gcc_lib\libwxmsw31u_core.a(corelib_window.o):window.cpp|| undefined reference to `IID_IAccessible'|
C:\wxWidgets-3.1.2\lib\gcc_lib\libwxmsw31u_core.a(corelib_msw_textctrl.o):textctrl.cpp|| undefined reference to `[email protected]'|
C:\wxWidgets-3.1.2\lib\gcc_lib\libwxmsw31u_core.a(corelib_msw_textctrl.o):textctrl.cpp:(.data+0x0)||undefined reference to `IID_IUnknown'|
||error: ld returned 1 exit status|
||=== Build failed: 4 error(s), 204 warning(s) (1 minute(s), 17 second(s)) ===|



User avatar
doublemax
Moderator
Moderator
Posts: 14080
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by doublemax » Sat Sep 14, 2019 6:14 pm

Did you also add ole32.lib and uuid.lib?

What does the linker command line look like?
Use the source, Luke!

Ken_SF
Earned a small fee
Earned a small fee
Posts: 16
Joined: Tue Jun 11, 2019 9:35 pm

Re: undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by Ken_SF » Sat Sep 14, 2019 8:37 pm

Yes, both of those files, ole32.lib and uuid.lib (gcc versions) are in my list of linked files.

Unfortunately, I am not experienced enough to answer your other question: What does the linker command line look like?

I presume you want to know what was ld.exe asked to do. I apologize if I am mistaken.

I edited the .html file created by code blocks and searched for ld.exe and found two lines:

Code: Select all

C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/5.1.0/../../../../mingw32/bin/ld.exe: C:\wxWidgets-3.1.2\lib\gcc_lib/libwxmsw31u_core.a(corelib_msw_textctrl.o): bad reloc address 0x0 in section ".data'<br />
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/5.1.0/../../../../mingw32/bin/ld.exe: final link failed: Invalid operation<br />
The undefined reference errors all occur before ld.exe was called (just above that portion of the .html file). I split up these 3 html lines to make them easy to read and added crlf characters to separate sections so they appear on separate lines. The below was taken from the build logs and the complete build logs was posted in an earlier post.

Code: Select all

mingw32-g++.exe -LC:\wxWidgets-3.1.2\lib\gcc_lib
-LC:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\lib\gcc_lib
-o bin\Release\MakeFont1.exe
obj\Release\src\pdfannotation.o
obj\Release\src\pdfbarcode.o 
obj\Release\src\pdfcffdecoder.o
obj\Release\src\pdfcffindex.o
obj\Release\src\pdfcolour.o
obj\Release\src\pdfdc.o
obj\Release\src\pdfdecode.o
obj\Release\src\pdfdocument.o
obj\Release\src\pdfencoding.o 
obj\Release\src\pdfencrypt.o
obj\Release\src\pdffont.o
obj\Release\src\pdffontdata.o
obj\Release\src\pdffontdatacore.o
obj\Release\src\pdffontdataopentype.o
obj\Release\src\pdffontdatatruetype.o 
obj\Release\src\pdffontdatatype0.o
obj\Release\src\pdffontdatatype1.o
obj\Release\src\pdffontdescription.o 
obj\Release\src\pdffontdetails.o 
obj\Release\src\pdffontextended.o
obj\Release\src\pdffontmanager.o 
obj\Release\src\pdffontparser.o
obj\Release\src\pdffontparsertruetype.o
obj\Release\src\pdffontparsertype1.o
obj\Release\src\pdffontsubsetcff.o 
obj\Release\src\pdffontsubsettruetype.o 
obj\Release\src\pdffontvolt.o 
obj\Release\src\pdfform.o 
obj\Release\src\pdfgradient.o
obj\Release\src\pdfgraphics.o
obj\Release\src\pdfimage.o
obj\Release\src\pdfkernel.o 
obj\Release\src\pdflayer.o 
obj\Release\src\pdfobjects.o 
obj\Release\src\pdfocg.o 
obj\Release\src\pdfparser.o 
obj\Release\src\pdfpattern.o 
obj\Release\src\pdfprint.o
obj\Release\src\pdfrijndael.o
obj\Release\src\pdftemplate.o 
obj\Release\src\pdfutility.o 
obj\Release\src\pdfxml.o
obj\Release\makefont1\MakeFont1.o 
obj\Release\src\pdfdoc_version.res 
-s -mwindows -m32  
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\liboleacc.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libole32.a" 
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libgdi32.a" 
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libuser32.a" 
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libkernel32.a" 
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libuuid.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libadvapi32.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libcomctl32.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libcomdlg32.a" 
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libctl3d32.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\liboleaut32.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\librpcrt4.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libshell32.a" 
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libwinmm.a"
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libwinspool.a" 
"C:\Program Files (x86)\CodeBlocks\MinGW\lib\libwsock32.a"
-lwxmsw31u_core 
-lwxbase31u
-lwxbase31ud_xml
-lwxpng
-lwxzlib 
-lwxexpat
-lwxregexu 
-lwxtiff
-lwxjpeg
-luxtheme
-loleacc

C:\wxWidgets-3.1.2\lib\gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0x15305): undefined reference to "IID_IAccessible'

C:\wxWidgets-3.1.2\lib\gcc_lib/libwxmsw31u_core.a(corelib_msw_textctrl.o):textctrl.cpp:(.text+0x11fd): undefined reference to "[email protected]'

C:\wxWidgets-3.1.2\lib\gcc_lib/libwxmsw31u_core.a(corelib_msw_textctrl.o):textctrl.cpp:(.data+0x0): undefined reference to "IID_IUnknown'
I got this list of linked files from the codeblocks project file; it also shows the search directories that applies to the linked files:

Code: Select all

linker options first:
 option="-s"
 option="-mwindows" 

linked files next (gcc files are fully pathed):
C:/Program Files (x86)/CodeBlocks/MinGW/lib/liboleacc.a
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libole32.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libgdi32.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libuser32.a
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libkernel32.a
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libuuid.a
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libadvapi32.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libcomctl32.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libcomdlg32.a
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libctl3d32.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/liboleaut32.a
C:/Program Files (x86)/CodeBlocks/MinGW/lib/librpcrt4.a
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libshell32.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libwinmm.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libwinspool.a 
C:/Program Files (x86)/CodeBlocks/MinGW/lib/libwsock32.a 
libwxmsw31u_core.a 
libwxbase31u.a 
libwxbase31ud_xml.a
libwxpng.a
libwxzlib.a
libwxexpat.a
libwxregexu.a
libwxtiff.a
libwxjpeg.a 
		

search directories:
"C:/wxWidgets-3.1.2/lib/gcc_lib"
"C:/PBWin10/AnsiCSamples/LearnCPP/wxWidgetsPDF/lib/gcc_lib" 
I apologize if this doesn't answer your question.

Thanks in advance for your assistance.

Ken

User avatar
doublemax
Moderator
Moderator
Posts: 14080
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by doublemax » Sat Sep 14, 2019 9:25 pm

The linker command line looks a little strange, but as i'm only an occasional MinGW user i can't tell if it's wrong.

Here's what i get when building a minimal test with CB:
mingw32-g++.exe -LC:\Users\Test\Desktop\wx312\lib\gcc_lib -o bin\Debug\test1.exe obj\Debug\test1App.o obj\Debug\test1Main.o obj\Debug\resource.res -mthreads -lwxmsw31u_core -lwxbase31u -lwxpng -lwxzlib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -lshlwapi -lversion -mwindows
The order is important, the Windows libs should come last.
Use the source, Luke!

Ken_SF
Earned a small fee
Earned a small fee
Posts: 16
Joined: Tue Jun 11, 2019 9:35 pm

Re: undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by Ken_SF » Sat Sep 14, 2019 9:33 pm

Thank you, I will give that a try.

I guessed (incorrectly) that the Windows libraries should come first because they were obviously referenced by something in a wxWidgets project (the wxpdfdocument's makefont project).

I had the thought that perhaps I should include the header files for the Windows libraries that I include in my project. I am not doing this for ole32, uuid etc.

In my limited C++ history, I have mostly been compiling, using, dissecting sample projects that are wxWidgets centric; this is the first project that seems to need Window's specific functionality.

Many thanks for the tips. Back to the drawing board to see if I can learn something and get past this roadblock.

Best Regards,

Ken

Ken_SF
Earned a small fee
Earned a small fee
Posts: 16
Joined: Tue Jun 11, 2019 9:35 pm

Re: undefined reference IID_Iaccessible from libwxmsw31u_core.a on wxpdfdocument's makefont project

Post by Ken_SF » Sat Sep 14, 2019 11:38 pm

Hi Doublemax,

I got the program to compile thanks to your last comment.

I created a table in Word and compared the buildlogs for my MakeFont project, your sample minimal project, one of my sample minimal projects and the 2nd tutorial provided in the wxpdfDocument project (which I already compiled successfully).

I definitely noticed a pattern; all of the projects that compiled correctly had the the same set of Windows libraries and they were all located after wxlibraries.

I also removed the hard pathing I was using for the linked libraries and simply added a path to the search directory list used by the linker.

My edited build log is here:

Code: Select all


-------------- Clean: Release in MakeFont1 (compiler: GNU GCC Compiler)---------------

Cleaned "MakeFont1 - Release"

-------------- Build: Release in MakeFont1 (compiler: GNU GCC Compiler)---------------
I removed compile messages because post would have been too long + warning messages

[100.0%] mingw32-g++.exe -LC:\wxWidgets-3.1.2\lib\gcc_lib -LC:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\lib\gcc_lib -o bin\Release\MakeFont1.exe obj\Release\src\pdfannotation.o obj\Release\src\pdfbarcode.o obj\Release\src\pdfcffdecoder.o obj\Release\src\pdfcffindex.o obj\Release\src\pdfcolour.o obj\Release\src\pdfdc.o obj\Release\src\pdfdecode.o obj\Release\src\pdfdocument.o obj\Release\src\pdfencoding.o obj\Release\src\pdfencrypt.o obj\Release\src\pdffont.o obj\Release\src\pdffontdata.o obj\Release\src\pdffontdatacore.o obj\Release\src\pdffontdataopentype.o obj\Release\src\pdffontdatatruetype.o obj\Release\src\pdffontdatatype0.o obj\Release\src\pdffontdatatype1.o obj\Release\src\pdffontdescription.o obj\Release\src\pdffontdetails.o obj\Release\src\pdffontextended.o obj\Release\src\pdffontmanager.o obj\Release\src\pdffontparser.o obj\Release\src\pdffontparsertruetype.o obj\Release\src\pdffontparsertype1.o obj\Release\src\pdffontsubsetcff.o obj\Release\src\pdffontsubsettruetype.o obj\Release\src\pdffontvolt.o obj\Release\src\pdfform.o obj\Release\src\pdfgradient.o obj\Release\src\pdfgraphics.o obj\Release\src\pdfimage.o obj\Release\src\pdfkernel.o obj\Release\src\pdflayer.o obj\Release\src\pdfobjects.o obj\Release\src\pdfocg.o obj\Release\src\pdfparser.o obj\Release\src\pdfpattern.o obj\Release\src\pdfprint.o obj\Release\src\pdfrijndael.o obj\Release\src\pdftemplate.o obj\Release\src\pdfutility.o obj\Release\src\pdfxml.o obj\Release\makefont1\MakeFont1.o  obj\Release\src\pdfdoc_version.res -s -mthreads -m32  -lwxmsw31u_core -lwxbase31u -lwxbase31ud_xml -lwxpng -lwxzlib -lwxexpat -lwxregexu -lwxtiff -lwxjpeg -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -lshlwapi -lversion -luxtheme -loleacc
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp: In member function 'bool MakeFont::MakeFontImmediate(const wxString&)':
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1510:18: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
           if (cc >= 0 && cc < 0xFFFF)
                  ^
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp: At global scope:
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1579:1: warning: missing initializer for member 'wxCmdLineEntryDesc::shortName' [-Wmissing-field-initializers]
 };
 ^
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1579:1: warning: missing initializer for member 'wxCmdLineEntryDesc::longName' [-Wmissing-field-initializers]
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1579:1: warning: missing initializer for member 'wxCmdLineEntryDesc::description' [-Wmissing-field-initializers]
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1579:1: warning: missing initializer for member 'wxCmdLineEntryDesc::type' [-Wmissing-field-initializers]
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1579:1: warning: missing initializer for member 'wxCmdLineEntryDesc::flags' [-Wmissing-field-initializers]
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp: In member function 'virtual bool MakeFont::OnInit()':
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1605:10: warning: unused variable 'hasFont' [-Wunused-variable]
     bool hasFont      = parser.Found(wxS("font"),   &m_fontFile);
          ^
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1606:10: warning: unused variable 'hasEnc' [-Wunused-variable]
     bool hasEnc       = parser.Found(wxS("enc"),    &m_encoding);
          ^
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1607:10: warning: unused variable 'hasPatch' [-Wunused-variable]
     bool hasPatch     = parser.Found(wxS("patch"),  &m_patchFile);
          ^
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp: In member function 'virtual int MakeFont::OnRun()':
C:\PBWin10\AnsiCSamples\LearnCPP\wxWidgetsPDF\makefont1\MakeFont1.cpp:1655:8: warning: variable 'valid' set but not used [-Wunused-but-set-variable]
   bool valid;//ken removed . from beginning of code
        ^
Output file is bin\Release\MakeFont1.exe with size 9.88 MB
Process terminated with status 0 (1 minute(s), 15 second(s))
0 error(s), 204 warning(s) (1 minute(s), 15 second(s))
Build log saved as: 
file://C:/PBWin10/AnsiCSamples/LearnCPP/wxWidgetsPDF/makefont1/MakeFont1_build_log.html
 

As a new C++ programmer, I would like to say that I've found the Build Logs a bit intimidating to grasp. I found it very instructive to cross reference the three working projects against the one that didn't work and studying how the build logs differ in those projects. I believe that accelerated my learning curve. I now (believe I) see that the build logs on complex projects are structured the same in beginning C++ tutorials, just many more files and fully pathed references.

I hope this thread helps someone else going forward.

Doublemax: Many thanks for your help.

Ken

Post Reply