[Bug 46835] New: Wine fails to compile with current git ( 73355cab96de112f5125907424b37289afc6ebe7

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 14 01:44:28 CDT 2019


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

            Bug ID: 46835
           Summary: Wine fails to compile with current git
                    (73355cab96de112f5125907424b37289afc6ebe7
           Product: Wine
           Version: 4.3
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: jeremielapuree at yahoo.fr
      Distribution: Ubuntu

With current git in ubuntu 18.10, wine fails to compile the d3d12 dll with the
following error message


gcc -c -o d3d12_main.o d3d12_main.c -I. -I../../include -I/usr/include/vkd3d
-D__WINESRC__ -D_REENTRANT \
  -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wempty-body \
  -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2
-Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op
-gdwarf-2 \
  -gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0
d3d12_main.c: In function ‘D3D12CreateDevice’:
d3d12_main.c:280:52: error: storage size of ‘optional_extensions_info’ isn’t
known
     struct vkd3d_optional_instance_extensions_info optional_extensions_info;
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~
d3d12_main.c:321:37: error:
‘VKD3D_STRUCTURE_TYPE_OPTIONAL_INSTANCE_EXTENSIONS_INFO’ undeclared (first use
in this function); did you mean ‘VKD3D_STRUCTURE_TYPE_INSTANCE_CREATE_INFO’?
     optional_extensions_info.type =
VKD3D_STRUCTURE_TYPE_OPTIONAL_INSTANCE_EXTENSIONS_INFO;
                                    
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     VKD3D_STRUCTURE_TYPE_INSTANCE_CREATE_INFO
d3d12_main.c:321:37: note: each undeclared identifier is reported only once for
each function it appears in
d3d12_main.c:280:52: warning: unused variable ‘optional_extensions_info’
[-Wunused-variable]
     struct vkd3d_optional_instance_extensions_info optional_extensions_info;
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:170: d3d12_main.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