Re: Have there been any problems with Wine on GCC 4.7?
Le 24/07/2012 04:06, Scott Ritchie a écrit : Wine is the last remaining package still depending on GCC 4.5 in the current Ubuntu alpha, it would be nice to drop GCC 4.5 and forward port Wine, however 4.6 is known to not work too well. But now we have 4.7 -- have there been any bugs attributed to its usage? Thanks, Scott Ritchie afaik, gcc 4.7 enables by default dwarf4 as its default debug format, whilst wine (dbghelp) only supports dwarf2 it generates a lot of conbursome backtraces in winegdb I've started to add dwarf4 support to wine, but don't hold your breath (it's going to be hard and tedious afaict and will require quite a few changes to dbghelp for correctness) (and I have little time right now g) BTW : fedora 17 ships with gcc 4.7 A+
Re: [PATCH 3/3] [Msacm32]: in acmFormatChoose, added support for template
Eric Pouech eric.pou...@orange.fr wrote: MMRESULT WINAPI acmFormatChooseW(PACMFORMATCHOOSEW pafmtc) { -return DialogBoxParamW(MSACM_hInstance32, MAKEINTRESOURCEW(DLG_ACMFORMATCHOOSE_ID), - pafmtc-hwndOwner, FormatChooseDlgProc, (LPARAM)pafmtc); +MMRESULTret; + +if (pafmtc-fdwStyle ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE) +ret = DialogBoxIndirectParamW(MSACM_hInstance32, (LPCDLGTEMPLATEW)pafmtc-hInstance, + pafmtc-hwndOwner, FormatChooseDlgProc, (LPARAM)pafmtc); +else if (pafmtc-fdwStyle ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE) +ret = DialogBoxParamW(pafmtc-hInstance, pafmtc-pszTemplateName, + pafmtc-hwndOwner, FormatChooseDlgProc, (LPARAM)pafmtc); +else +ret = DialogBoxParamW(MSACM_hInstance32, MAKEINTRESOURCEW(DLG_ACMFORMATCHOOSE_ID), + pafmtc-hwndOwner, FormatChooseDlgProc, (LPARAM)pafmtc); +return ret; } It would look much better without all those 'ret' + 'else' things. -- Dmitry.
Re: Have there been any problems with Wine on GCC 4.7?
On 08/12/2012 01:08 AM, Eric Pouech wrote: Le 24/07/2012 04:06, Scott Ritchie a écrit : Wine is the last remaining package still depending on GCC 4.5 in the current Ubuntu alpha, it would be nice to drop GCC 4.5 and forward port Wine, however 4.6 is known to not work too well. But now we have 4.7 -- have there been any bugs attributed to its usage? Thanks, Scott Ritchie afaik, gcc 4.7 enables by default dwarf4 as its default debug format, whilst wine (dbghelp) only supports dwarf2 it generates a lot of conbursome backtraces in winegdb I've started to add dwarf4 support to wine, but don't hold your breath (it's going to be hard and tedious afaict and will require quite a few changes to dbghelp for correctness) (and I have little time right now g) BTW : fedora 17 ships with gcc 4.7 A+ In the meantime, I suppose I could enable the -gdwarf-2 compiler option. Thanks, Scott Ritchie
Re: _vcomp_fork stack frame puzzle
Using varargs like Andre tried doesn't work because pushing a va_list isn't the same as pushing a list of arguments. So I think we need assembly. The assembly I gave earlier is wrong because it cleans up the stack, which it's not allowed to do. I've attached an updated patch to http://bugs.winehq.org/show_bug.cgi?id=26688 with a _vcomp_fork that works for simple loops with and without bound variables. I guess the next step is porting the serial stub for _vcomp_fork to 64 bits.