Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73561 Details for
Bug 113541
New GCC 4.1.0_beta20051123-r1 (pre-release) (unofficial snapshot)- new ebuild + cool fixes and customizations
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ignore_unknown_cflags2.patch
ignore_unknown_cflags2.patch (text/plain), 657 bytes, created by
Alexey Maximov
on 2005-11-25 02:24:21 UTC
(
hide
)
Description:
ignore_unknown_cflags2.patch
Filename:
MIME Type:
Creator:
Alexey Maximov
Created:
2005-11-25 02:24:21 UTC
Size:
657 bytes
patch
obsolete
>--- gcc/opts.c.orig 2005-11-06 04:14:27.000000000 +0600 >+++ gcc/opts.c 2005-11-16 05:35:46.000000000 +0600 >@@ -434,6 +434,8 @@ > handle_options (unsigned int argc, const char **argv, unsigned int lang_mask) > { > unsigned int n, i; >+ int z; >+ z = *(getenv ("GCC_IGNORE_UNKNOWN_CFLAGS") ?: "") == '\0' ? 0 : 1; > > for (i = 1; i < argc; i += n) > { >@@ -454,7 +456,14 @@ > if (!n) > { > n = 1; >- error ("unrecognized command line option \"%s\"", opt); >+ if (z) >+ { >+ warning ("unrecognized command line option \"%s\"", opt); >+ } >+ else >+ { >+ error ("unrecognized command line option \"%s\"", opt); >+ } > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 113541
:
73558
|
73559
|
73560
| 73561 |
73562