[PATCH] const variables are not compile-time constants

Henri Verbeet hverbeet at gmail.com
Mon Jul 26 08:50:30 CDT 2010

On 26 July 2010 10:00, Alexandre Julliard <julliard at winehq.org> wrote:
> Octavian Voicu <octavian.voicu at gmail.com> writes:
>> On Sun, Jul 25, 2010 at 11:36 PM, Mikko Rasa <tdb at tdb.fi> wrote:
>>> -    static const DWORD user_flags = clip_flags | DCX_NORESETATTRS; /* flags that can be set by user */
>>> +        | DCX_NORESETATTRS; /* flags that can be set by user */
>> This should be committed first thing tomorrow imho (in order to
>> minimize the number of potential compile errors in case of a bisect).
> Doing a bisect with custom compile flags is not a good idea. That sort
> of thing happens from time to time.
It fails for me with gcc 4.4.4 on Debian squeeze, without particularly
special compile flags. Maybe it's a Debian thing, but you don't have
to try very hard to run into this.

More information about the wine-devel mailing list