Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6f1ed05b
Commit
6f1ed05b
authored
Nov 01, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Disable -Wmicrosoft-enum-forward-reference warnings.
parent
fdc3e506
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
configure
configure
+33
-0
configure.ac
configure.ac
+1
-0
No files found.
configure
View file @
6f1ed05b
...
...
@@ -11004,6 +11004,39 @@ if eval test \"x\$"$as_ac_var"\" = x"yes"
then
:
as_fn_append
${
wine_arch
}
_EXTRACFLAGS
" -Wno-pragma-pack"
fi
}
{
as_ac_var
=
`
printf
"%s
\n
"
"ac_cv_
${
wine_arch
}
_cflags_-Wmicrosoft-enum-forward-reference"
|
$as_tr_sh
`
{
printf
"%s
\n
"
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether
$CC
supports -Wmicrosoft-enum-forward-reference"
>
&5
printf
%s
"checking whether
$CC
supports -Wmicrosoft-enum-forward-reference... "
>
&6
;
}
if
eval test
\$
{
$as_ac_var
+y
}
then
:
printf
%s
"(cached) "
>
&6
else
$as_nop
ac_wine_try_cflags_saved
=
$CFLAGS
ac_wine_try_cflags_saved_exeext
=
$ac_exeext
CFLAGS
=
"
$CFLAGS
-nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
ac_exeext
=
".exe"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int __cdecl mainCRTStartup(void) { return 0; }
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
then
:
eval
"
$as_ac_var
=yes"
else
$as_nop
eval
"
$as_ac_var
=no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.beam
\
conftest
$ac_exeext
conftest.
$ac_ext
CFLAGS
=
$ac_wine_try_cflags_saved
ac_exeext
=
$ac_wine_try_cflags_saved_exeext
fi
eval
ac_res
=
\$
$as_ac_var
{
printf
"%s
\n
"
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_res
"
>
&5
printf
"%s
\n
"
"
$ac_res
"
>
&6
;
}
if
eval test
\"
x
\$
"
$as_ac_var
"
\"
=
x
"yes"
then
:
as_fn_append
${
wine_arch
}
_EXTRACFLAGS
" -Wno-microsoft-enum-forward-reference"
fi
}
{
as_ac_var
=
`
printf
"%s
\n
"
"ac_cv_
${
wine_arch
}
_cflags_-Wshift-overflow=2"
|
$as_tr_sh
`
{
printf
"%s
\n
"
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether
$CC
supports -Wshift-overflow=2"
>
&5
printf
%s
"checking whether
$CC
supports -Wshift-overflow=2... "
>
&6
;
}
...
...
configure.ac
View file @
6f1ed05b
...
...
@@ -960,6 +960,7 @@ This is an error since --enable-archs=$wine_arch was requested.])])
WINE_TRY_PE_CFLAGS([-Winit-self])
WINE_TRY_PE_CFLAGS([-Wpacked-not-aligned],[AS_VAR_APPEND(${wine_arch}_EXTRACFLAGS,[" -Wno-packed-not-aligned"])])
WINE_TRY_PE_CFLAGS([-Wpragma-pack],[AS_VAR_APPEND(${wine_arch}_EXTRACFLAGS,[" -Wno-pragma-pack"])])
WINE_TRY_PE_CFLAGS([-Wmicrosoft-enum-forward-reference],[AS_VAR_APPEND(${wine_arch}_EXTRACFLAGS,[" -Wno-microsoft-enum-forward-reference"])])
WINE_TRY_PE_CFLAGS([-Wshift-overflow=2])
WINE_TRY_PE_CFLAGS([-Wstrict-prototypes])
WINE_TRY_PE_CFLAGS([-Wtype-limits])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment