forked from pool/gcc15
- Take patches inherited from GCC 14. * gcc-add-defaultsspec.diff, add the ability to provide a specs file that is read by default * tls-no-direct.diff, avoid direct %fs references on x86 to not slow down Xen * gcc43-no-unwind-tables.diff, do not produce unwind tables for CRT files * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr for ppc, just a testcase * gcc44-textdomain.patch, make translation files version specific and adjust textdomain to find them * gcc44-rename-info-files.patch, fix cross-references in info files when renaming them to be version specific * gcc48-libstdc++-api-reference.patch, fix link in the installed libstdc++ html documentation * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes new warning from -Wextra * gcc7-avoid-fixinc-error.diff * gcc9-reproducible-builds-buildid-for-checksum.patch * gcc9-reproducible-builds.patch * gcc11-gdwarf-4-default.patch, default to -gdwarf-4 on old products OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc15?expand=0&rev=1
14 lines
680 B
Diff
14 lines
680 B
Diff
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
|
|
index 9c0a28092fc..e2d4aa059e4 100644
|
|
--- a/gcc/c-family/c.opt
|
|
+++ b/gcc/c-family/c.opt
|
|
@@ -715,7 +715,7 @@ C++ ObjC++ Var(warn_exceptions) Init(1) Warning
|
|
Warn when an exception handler is shadowed by another handler.
|
|
|
|
Wexpansion-to-defined
|
|
-C ObjC C++ ObjC++ CPP(warn_expansion_to_defined) CppReason(CPP_W_EXPANSION_TO_DEFINED) Var(cpp_warn_expansion_to_defined) Init(0) Warning EnabledBy(Wextra || Wpedantic)
|
|
+C ObjC C++ ObjC++ CPP(warn_expansion_to_defined) CppReason(CPP_W_EXPANSION_TO_DEFINED) Var(cpp_warn_expansion_to_defined) Init(0) Warning EnabledBy(Wpedantic)
|
|
Warn if \"defined\" is used outside #if.
|
|
|
|
Wextra
|