https://bugs.winehq.org/show_bug.cgi?id=42990
Bug ID: 42990 Summary: wine can't be compiled by gcc-2.95.4 (d3dx9_36/effect.c) Product: Wine Version: 2.7 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: wylda@volny.cz Distribution: ---
Similarly to bug 42986:
wine-2.7 @ gcc-2.95.4: compilation fails:
/d3dx9_36/effect.c:23: /d3dx9_36/d3dx9_private.h:227: warning: unnamed struct/union that defines no instances /d3dx9_36/effect.c: In function `set_dirty': /d3dx9_36/effect.c:1365: structure has no member named `shared_data' /d3dx9_36/effect.c: In function `d3dx9_get_param_value_ptr': /d3dx9_36/effect.c:2594: structure has no member named `referenced_param' /d3dx9_36/effect.c:2624: structure has no member named `referenced_param' /d3dx9_36/effect.c: In function `d3dx_pool_sync_shared_parameter': /d3dx9_36/effect.c:3143: structure has no member named `shared_data' /d3dx9_36/effect.c:3174: structure has no member named `shared_data' /d3dx9_36/effect.c: In function `d3dx_pool_release_shared_parameter': /d3dx9_36/effect.c:3193: structure has no member named `shared_data' /d3dx9_36/effect.c:3195: structure has no member named `shared_data' /d3dx9_36/effect.c:3197: structure has no member named `shared_data' /d3dx9_36/effect.c:3205: structure has no member named `shared_data' /d3dx9_36/effect.c:3207: structure has no member named `shared_data' /d3dx9_36/effect.c:3208: structure has no member named `shared_data' /d3dx9_36/effect.c:3209: structure has no member named `shared_data' /d3dx9_36/effect.c:3217: structure has no member named `shared_data' /d3dx9_36/effect.c:3219: structure has no member named `shared_data' /d3dx9_36/effect.c:3220: structure has no member named `shared_data' /d3dx9_36/effect.c: In function `walk_state_dep': /d3dx9_36/effect.c:3910: structure has no member named `referenced_param' /d3dx9_36/effect.c: In function `d3dx9_parse_array_selector': /d3dx9_36/effect.c:5864: structure has no member named `referenced_param' /d3dx9_36/effect.c:5865: structure has no member named `referenced_param' /d3dx9_36/effect.c:5867: structure has no member named `referenced_param' /d3dx9_36/effect.c:5881: structure has no member named `referenced_param' /d3dx9_36/effect.c: In function `d3dx9_parse_resource': /d3dx9_36/effect.c:6036: structure has no member named `referenced_param' /d3dx9_36/effect.c:6037: structure has no member named `referenced_param' /d3dx9_36/effect.c:6039: structure has no member named `referenced_param' /d3dx9_36/effect.c: In function `free_effect_pool': /d3dx9_36/effect.c:6504: structure has no member named `shared_data' /d3dx9_36/effect.c:6509: structure has no member named `shared_data' make[1]: *** [effect.o] Error 1
https://bugs.winehq.org/show_bug.cgi?id=42990
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 58127 --> https://bugs.winehq.org/attachment.cgi?id=58127 Patch
https://bugs.winehq.org/show_bug.cgi?id=42990
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
--- Comment #2 from Wylda wylda@volny.cz ---
Patch
Yes, thank you. Saga continues at bug 42991. (sorry for the delay, as I did not have git in that machine and your patch failed on wine-2.7 due to recent commits in d3dx9_36/effect.c so it took me some time)
https://bugs.winehq.org/show_bug.cgi?id=42990
Gijs Vermeulen acescopezz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |acescopezz@gmail.com
--- Comment #3 from Gijs Vermeulen acescopezz@gmail.com --- Should be fixed by: https://source.winehq.org/git/wine.git/commit/1bef693767197eaf8a847bab8d8ea2...
https://bugs.winehq.org/show_bug.cgi?id=42990
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |1bef693767197eaf8a847bab8d8 | |ea2d7d649436f Status|NEW |RESOLVED
--- Comment #4 from Wylda wylda@volny.cz --- Thank you.
https://bugs.winehq.org/show_bug.cgi?id=42990
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.8.