[Bug 49516] New: xactengine fails to build in 5.12 (5.11 is ok)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jul 4 11:57:23 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49516

            Bug ID: 49516
           Summary: xactengine fails to build in 5.12 (5.11 is ok)
           Product: Wine
           Version: 5.12
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: xactengine
          Assignee: wine-bugs at winehq.org
          Reporter: bero at lindev.ch
      Distribution: ---

Didn't get around to debugging this yet - it might be an incorrect macro
expansion somewhere. IXACT34* doesn't exist, but IXACT3* does...


/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:84:5:
error: unknown type name ‘IXACT34Cue’
   84 |     IXACT34Cue IXACT34Cue_iface;
      |     ^~~~~~~~~~
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:
In function ‘wrap_readfile’:
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:132:34:
warning: passing argument 5 of ‘wrap->engine->pReadFile’ from incompatible
pointer type [-Wincompatible-pointer-types]
  132 |             lpNumberOfBytesRead, lpOverlapped);
      |                                  ^~~~~~~~~~~~
      |                                  |
      |                                  FACTOverlapped *
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:132:34:
note: expected ‘LPOVERLAPPED’ {aka ‘struct _OVERLAPPED *’} but argument is of
type ‘FACTOverlapped *’
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:
In function ‘wrap_getoverlappedresult’:
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:142:59:
warning: passing argument 2 of ‘wrap->engine->pGetOverlappedResult’ from
incompatible pointer type [-Wincompatible-pointer-types]
  142 |     return wrap->engine->pGetOverlappedResult(wrap->file, lpOverlapped,
      |                                                           ^~~~~~~~~~~~
      |                                                           |
      |                                                          
FACTOverlapped *
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:142:59:
note: expected ‘LPOVERLAPPED’ {aka ‘struct _OVERLAPPED *’} but argument is of
type ‘FACTOverlapped *’
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:
At top level:
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:293:50:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  293 | static inline XACT3CueImpl *impl_from_IXACT34Cue(IXACT34Cue *iface)
      |                                                  ^~~~~~~~~~
      |                                                  IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:298:43:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  298 | static HRESULT WINAPI IXACT34CueImpl_Play(IXACT34Cue *iface)
      |                                           ^~~~~~~~~~
      |                                           IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:307:43:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  307 | static HRESULT WINAPI IXACT34CueImpl_Stop(IXACT34Cue *iface, DWORD
dwFlags)
      |                                           ^~~~~~~~~~
      |                                           IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:316:47:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  316 | static HRESULT WINAPI IXACT34CueImpl_GetState(IXACT34Cue *iface, DWORD
*pdwState)
      |                                               ^~~~~~~~~~
      |                                               IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:325:46:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  325 | static HRESULT WINAPI IXACT34CueImpl_Destroy(IXACT34Cue *iface)
      |                                              ^~~~~~~~~~
      |                                              IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:336:60:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  336 | static HRESULT WINAPI IXACT34CueImpl_SetMatrixCoefficients(IXACT34Cue
*iface,
      |                                                            ^~~~~~~~~~
      |                                                            IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:349:65:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  349 | static XACTVARIABLEINDEX WINAPI
IXACT34CueImpl_GetVariableIndex(IXACT34Cue *iface,
      |                                                                
^~~~~~~~~~
      |                                                                
IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:359:50:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  359 | static HRESULT WINAPI IXACT34CueImpl_SetVariable(IXACT34Cue *iface,
      |                                                  ^~~~~~~~~~
      |                                                  IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:369:50:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  369 | static HRESULT WINAPI IXACT34CueImpl_GetVariable(IXACT34Cue *iface,
      |                                                  ^~~~~~~~~~
      |                                                  IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:379:44:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  379 | static HRESULT WINAPI IXACT34CueImpl_Pause(IXACT34Cue *iface, BOOL
fPause)
      |                                            ^~~~~~~~~~
      |                                            IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:388:52:
error: unknown type name ‘IXACT34Cue’; did you mean ‘IXACT3Cue’?
  388 | static HRESULT WINAPI IXACT34CueImpl_GetProperties(IXACT34Cue *iface,
      |                                                    ^~~~~~~~~~
      |                                                    IXACT3Cue
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:405:14:
error: unknown type name ‘IXACT34CueVtbl’
  405 | static const IXACT34CueVtbl XACT34Cue_Vtbl =
      |              ^~~~~~~~~~~~~~
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:407:5:
error: ‘IXACT34CueImpl_Play’ undeclared here (not in a function); did you mean
‘IXACT3CueImpl_Play’?
  407 |     IXACT34CueImpl_Play,
      |     ^~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_Play
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:408:5:
error: ‘IXACT34CueImpl_Stop’ undeclared here (not in a function); did you mean
‘IXACT3CueImpl_Stop’?
  408 |     IXACT34CueImpl_Stop,
      |     ^~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_Stop
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:408:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:408:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:409:5:
error: ‘IXACT34CueImpl_GetState’ undeclared here (not in a function); did you
mean ‘IXACT3CueImpl_GetState’?
  409 |     IXACT34CueImpl_GetState,
      |     ^~~~~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_GetState
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:409:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:409:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:410:5:
error: ‘IXACT34CueImpl_Destroy’ undeclared here (not in a function); did you
mean ‘IXACT3CueImpl_Destroy’?
  410 |     IXACT34CueImpl_Destroy,
      |     ^~~~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_Destroy
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:410:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:410:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:411:5:
error: ‘IXACT34CueImpl_SetMatrixCoefficients’ undeclared here (not in a
function); did you mean ‘IXACT3CueImpl_SetMatrixCoefficients’?
  411 |     IXACT34CueImpl_SetMatrixCoefficients,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_SetMatrixCoefficients
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:411:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:411:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:412:5:
error: ‘IXACT34CueImpl_GetVariableIndex’ undeclared here (not in a function);
did you mean ‘IXACT3CueImpl_GetVariableIndex’?
  412 |     IXACT34CueImpl_GetVariableIndex,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_GetVariableIndex
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:412:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:412:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:413:5:
error: ‘IXACT34CueImpl_SetVariable’ undeclared here (not in a function); did
you mean ‘IXACT3CueImpl_SetVariable’?
  413 |     IXACT34CueImpl_SetVariable,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_SetVariable
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:413:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:413:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:414:5:
error: ‘IXACT34CueImpl_GetVariable’ undeclared here (not in a function); did
you mean ‘IXACT3CueImpl_GetVariable’?
  414 |     IXACT34CueImpl_GetVariable,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_GetVariable
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:414:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:414:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:415:5:
error: ‘IXACT34CueImpl_Pause’ undeclared here (not in a function); did you mean
‘IXACT3CueImpl_Pause’?
  415 |     IXACT34CueImpl_Pause,
      |     ^~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_Pause
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:415:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:415:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:416:5:
error: ‘IXACT34CueImpl_GetProperties’ undeclared here (not in a function); did
you mean ‘IXACT3CueImpl_GetProperties’?
  416 |     IXACT34CueImpl_GetProperties
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     IXACT3CueImpl_GetProperties
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:416:5:
warning: excess elements in scalar initializer
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:416:5:
note: (near initialization for ‘XACT34Cue_Vtbl’)
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:
In function ‘IXACT3SoundBankImpl_Prepare’:
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:590:26:
error: request for member ‘lpVtbl’ in something not a structure or union
  590 |     cue->IXACT34Cue_iface.lpVtbl = &XACT34Cue_Vtbl;
      |                          ^
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:
In function ‘IXACT3SoundBankImpl_Play’:
/home/bero/temp/abf/wine/BUILD/wine-5.12/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:638:30:
error: request for member ‘lpVtbl’ in something not a structure or union
  638 |         cue->IXACT34Cue_iface.lpVtbl = &XACT34Cue_Vtbl;
      |                              ^
make[1]: *** [Makefile:188: xact_dll.o] Error 1

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list