79362254

Date: 2025-01-16 15:59:45
Score: 1
Natty:
Report link

To help you better understand my problem, here is an excerpt of the messages generated by the compiler after compiling with the command mingw32-make:

[ 1%] Building C object CMakeFiles/gen_test_char.dir/tools/gen_test_char.c.obj
[ 2%] Linking C executable gen_test_char.exe
[ 2%] Built target gen_test_char
[ 3%] Generating character tables, apr_escape_test_char.h, for current locale
[ 3%] Built target test_char_header
[ 3%] Building C object CMakeFiles/libapr-1.dir/atomic/win32/apr_atomic.c.obj
In file included from x:/mingw64/x86_64-w64-mingw32/include/objbase.h:66,
from x:/mingw64/x86_64-w64-mingw32/include/ole2.h:17,
from x:/mingw64/x86_64-w64-mingw32/include/wtypes.h:13,
from x:/mingw64/x86_64-w64-mingw32/include/accctrl.h:10,
from x:/apr-1.7.5/include/arch/win32/apr_private.h:62,
from x:/apr-1.7.5/include/arch/unix/apr_arch_atomic.h:22,
from x:\apr-1.7.5\atomic\win32\apr_atomic.x:17:
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9954:9: error: unknown type name 'HMETAFILEPICT'; did you mean 'METAFILEPICT'?
9954 | HMETAFILEPICT hMetaFilePict;
| ^~~~~~~~~~~~~
| METAFILEPICT
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9967:9: error: unknown type name 'wireHBITMAP'; did you mean 'HBITMAP'?
9967 | wireHBITMAP hBitmap;
| ^~~~~~~~~~~
| HBITMAP
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9968:9: error: unknown type name 'wireHPALETTE'; did you mean 'HPALETTE'?
9968 | wireHPALETTE hPalette;
| ^~~~~~~~~~~~
| HPALETTE
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9969:9: error: unknown type name 'wireHGLOBAL'; did you mean 'HGLOBAL'?
9969 | wireHGLOBAL hGeneric;
| ^~~~~~~~~~~
| HGLOBAL
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9976:13: error: unknown type name 'wireHMETAFILEPICT'; did you mean 'LPMETAFILEPICT'?
9976 | wireHMETAFILEPICT hMetaFilePict;
| ^~~~~~~~~~~~~~~~~
| LPMETAFILEPICT
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9977:13: error: unknown type name 'wireHENHMETAFILE'; did you mean 'HENHMETAFILE'?
9977 | wireHENHMETAFILE hHEnhMetaFile;
| ^~~~~~~~~~~~~~~~
| HENHMETAFILE
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9979:13: error: unknown type name 'wireHGLOBAL'; did you mean 'HGLOBAL'?
9979 | wireHGLOBAL hGlobal;
| ^~~~~~~~~~~
| HGLOBAL
x:/mingw64/x86_64-w64-mingw32/include/objbase.h:159:52: error: unknown type name 'uCLSSPEC'
159 | WINOLEAPI CoInstall (IBindCtx *pbc, DWORD dwFlags, uCLSSPEC *pClassSpec, QUERYCONTEXT *pQuery, LPWSTR pszCodeBase);
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/objbase.h:159:74: error: unknown type name 'QUERYCONTEXT'; did you mean 'PUMS_CONTEXT'?
159 | WINOLEAPI CoInstall (IBindCtx *pbc, DWORD dwFlags, uCLSSPEC *pClassSpec, QUERYCONTEXT *pQuery, LPWSTR pszCodeBase);
| ^~~~~~~~~~~~
| PUMS_CONTEXT
In file included from x:/mingw64/x86_64-w64-mingw32/include/urlmon.h:456,
from x:/mingw64/x86_64-w64-mingw32/include/objbase.h:163:
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:1328:9: error: unknown type name 'LPMSG'
1328 | LPMSG lpmsg,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:2198:9: error: unknown type name 'LPMSG'
2198 | LPMSG lpmsg);
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:2299:5: error: unknown type name 'LPMSG'
2299 | LPMSG lpmsg);
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:2441:9: error: unknown type name 'LPMSG'
2441 | LPMSG lpmsg,
| ^~~~~
In file included from x:/mingw64/x86_64-w64-mingw32/include/msxml.h:311,
from x:/mingw64/x86_64-w64-mingw32/include/urlmon.h:458:
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:366:9: error: unknown type name 'CY'
366 | typedef CY CURRENCY;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:378:5: error: unknown type name 'wireBSTR'
378 | wireBSTR *aBstr;
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:408:16: error: 'VT_ERROR' undeclared here (not in a function); did you mean 'IS_ERROR'?
408 | SF_ERROR = VT_ERROR,
| ^~~~~~~~
| IS_ERROR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:409:13: error: 'VT_I1' undeclared here (not in a function)
409 | SF_I1 = VT_I1,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:410:13: error: 'VT_I2' undeclared here (not in a function)
410 | SF_I2 = VT_I2,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:411:13: error: 'VT_I4' undeclared here (not in a function)
411 | SF_I4 = VT_I4,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:412:13: error: 'VT_I8' undeclared here (not in a function)
412 | SF_I8 = VT_I8,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:413:15: error: 'VT_BSTR' undeclared here (not in a function); did you mean 'PTSTR'?
413 | SF_BSTR = VT_BSTR,
| ^~~~~~~
| PTSTR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:414:18: error: 'VT_UNKNOWN' undeclared here (not in a function); did you mean 'VFT_UNKNOWN'?
414 | SF_UNKNOWN = VT_UNKNOWN,
| ^~~~~~~~~~
| VFT_UNKNOWN
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:415:19: error: 'VT_DISPATCH' undeclared here (not in a function); did you mean 'VIF_MISMATCH'?
415 | SF_DISPATCH = VT_DISPATCH,
| ^~~~~~~~~~~
| VIF_MISMATCH
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:416:18: error: 'VT_VARIANT' undeclared here (not in a function)
416 | SF_VARIANT = VT_VARIANT,
| ^~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:417:17: error: 'VT_RECORD' undeclared here (not in a function); did you mean 'METARECORD'?
417 | SF_RECORD = VT_RECORD,
| ^~~~~~~~~
| METARECORD
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:418:31: error: 'VT_RESERVED' undeclared here (not in a function); did you mean 'TC_RESERVED'?
418 | SF_HAVEIID = VT_UNKNOWN | VT_RESERVED
| ^~~~~~~~~~~
| TC_RESERVED
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:508:13: error: unknown type name 'VARTYPE'; did you mean 'CALTYPE'?
508 | VARTYPE vt;
| ^~~~~~~
| CALTYPE
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:519:17: error: unknown type name 'VARIANT_BOOL'
519 | VARIANT_BOOL boolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:521:17: error: unknown type name 'CY'
521 | CY cyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:522:17: error: unknown type name 'DATE'
522 | DATE date;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:523:17: error: unknown type name 'BSTR'; did you mean 'HSTR'?
523 | BSTR bstrVal;
| ^~~~
| HSTR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:533:17: error: unknown type name 'VARIANT_BOOL'
533 | VARIANT_BOOL *pboolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:535:17: error: unknown type name 'CY'
535 | CY *pcyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:536:17: error: unknown type name 'DATE'
536 | DATE *pdate;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:537:17: error: unknown type name 'BSTR'; did you mean 'HSTR'?
537 | BSTR *pbstrVal;
| ^~~~
| HSTR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:549:17: error: unknown type name 'DECIMAL'
549 | DECIMAL *pdecVal;
| ^~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:562:9: error: unknown type name 'DECIMAL'
562 | DECIMAL decVal;
| ^~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:604:9: error: unknown type name 'VARIANT_BOOL'
604 | VARIANT_BOOL boolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:606:9: error: unknown type name 'CY'
606 | CY cyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:607:9: error: unknown type name 'DATE'
607 | DATE date;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:608:9: error: unknown type name 'wireBSTR'
608 | wireBSTR bstrVal;
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:619:9: error: unknown type name 'VARIANT_BOOL'
619 | VARIANT_BOOL *pboolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:621:9: error: unknown type name 'CY'
621 | CY *pcyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:622:9: error: unknown type name 'DATE'
622 | DATE *pdate;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:623:9: error: unknown type name 'wireBSTR'
623 | wireBSTR *pbstrVal;
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:634:9: error: unknown type name 'DECIMAL'
634 | DECIMAL decVal;
| ^~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:635:9: error: unknown type name 'DECIMAL'
635 | DECIMAL *pdecVal;
| ^~~~~~~
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Filler text (0.5): ~~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~
  • Filler text (0): ~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Low reputation (1):
Posted by: user29212188