https://bugs.winehq.org/show_bug.cgi?id=40391
Bug ID: 40391 Summary: Wine fails to build in maintainer mode. Product: Wine Version: 1.9.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jre.winesim@gmail.com Distribution: ---
Created attachment 54105 --> https://bugs.winehq.org/attachment.cgi?id=54105 Log of the failed build after configure --enable-maintainer-mode
Hi
Wine fails to build if configured with --enable-maintainer-mode, due to Werror=discarded-array-qualifiers when building dlls/msdaps/row_server_p.c. See the attached tail of the build log.
I don't know if these build failures are to be expected in maintainer mode, didn't find any specific documentation about that. My motivation for doing this, is for Debian building completely from source, without using pre-built stuff like the TrueType fonts.
Overriding CFLAGS with -Wno-error workarounds this.
$ gcc --version gcc (Debian 5.3.1-13) 5.3.1 20160323 $ git describe wine-1.9.6-271-gf34fd25 $ ./configure --enable-maintainer-mode --enable-win64
Greets jre