public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44244]  New: Provide -f flags to turn on individual C++0x features
@ 2010-05-22 19:01 jyasskin at gmail dot com
  2010-05-22 19:05 ` [Bug c++/44244] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jyasskin at gmail dot com @ 2010-05-22 19:01 UTC (permalink / raw)
  To: gcc-bugs

Right now, gcc provides --std=c++0x to turn on all the features from C++0x that
it's implemented. However, it would be useful for organizations migrating to
C++0x to turn on one feature at a time as that feature becomes stable. For
example, we might turn on -fenable-c++0x-auto before -fenable-c++0x-lambdas.


-- 
           Summary: Provide -f flags to turn on individual C++0x features
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jyasskin at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44244


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/44244] Provide -f flags to turn on individual C++0x features
  2010-05-22 19:01 [Bug c++/44244] New: Provide -f flags to turn on individual C++0x features jyasskin at gmail dot com
@ 2010-05-22 19:05 ` pinskia at gcc dot gnu dot org
  2010-06-04 15:51 ` manu at gcc dot gnu dot org
  2010-06-04 17:56 ` jyasskin at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-05-22 19:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-05-22 19:05 -------
I don't think this is a good idea as it means we have to support these options
forever.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44244


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/44244] Provide -f flags to turn on individual C++0x features
  2010-05-22 19:01 [Bug c++/44244] New: Provide -f flags to turn on individual C++0x features jyasskin at gmail dot com
  2010-05-22 19:05 ` [Bug c++/44244] " pinskia at gcc dot gnu dot org
@ 2010-06-04 15:51 ` manu at gcc dot gnu dot org
  2010-06-04 17:56 ` jyasskin at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-06-04 15:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from manu at gcc dot gnu dot org  2010-06-04 15:50 -------
I am going to close this as WONTFIX for the following reasons:

* We do not want this because:
  a) We have too many options.
  b) These options would be of very limited and temporary use but we will have
to support them forever.
  c) c++0x features are spread all over the compiler -> this is hard to
implement properly as an after-thought.
  d) The additional checking will slow down the compiler for no significant
gain. We are too slow already.

* We have too many open PRs, so it is not worth it to keep this open just in
case.

Sorry about this but I hope you can understand.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44244


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/44244] Provide -f flags to turn on individual C++0x features
  2010-05-22 19:01 [Bug c++/44244] New: Provide -f flags to turn on individual C++0x features jyasskin at gmail dot com
  2010-05-22 19:05 ` [Bug c++/44244] " pinskia at gcc dot gnu dot org
  2010-06-04 15:51 ` manu at gcc dot gnu dot org
@ 2010-06-04 17:56 ` jyasskin at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jyasskin at gmail dot com @ 2010-06-04 17:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jyasskin at gmail dot com  2010-06-04 17:56 -------
Thanks for the prompt answers. I understand that you've picked the right
direction for gcc as a whole, even though it'll inconvenience me temporarily.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44244


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-04 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-22 19:01 [Bug c++/44244] New: Provide -f flags to turn on individual C++0x features jyasskin at gmail dot com
2010-05-22 19:05 ` [Bug c++/44244] " pinskia at gcc dot gnu dot org
2010-06-04 15:51 ` manu at gcc dot gnu dot org
2010-06-04 17:56 ` jyasskin at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).