[Bug libstdc++/36428] std::tr1 Header Location

2008-06-05 Thread christopher dot kormanyos at al-lighting dot com


--- Comment #2 from christopher dot kormanyos at al-lighting dot com  
2008-06-05 08:21 ---
OK now I understand your strategy. Thanks for the explaination.

But there is still a problem in the community. Two very popular compilers (VC
and GCC) which are often used in cross development projects together now have
different include paths for the C++ tr1 stuff. And it seems like support for
tr1 must exist for quite some time until the transition to c++0x is complete.

We have discussed this with a few other developers and we wonder if it would be
possible to somehow add tr1 to the include path based on a new compiler
switch. Perhaps there could be an additional compiler switch like std=c++98tr1.
This would allow for code-compatibility when using tr1 and simultaneously allow
the build system to be independent of the compiler location. Could this be
considered as a change request?

Thank you for your consideration.

Sincerely, Chris.


-- 

christopher dot kormanyos at al-lighting dot com changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|WONTFIX |


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



[Bug libstdc++/36428] std::tr1 Header Location

2008-06-05 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2008-06-05 12:24 ---
Use -std=c++0x if you want them in the correct location.  They are only part
of the C++0x standard and not part of C++98/03 standards.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WONTFIX


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



[Bug libstdc++/36428] std::tr1 Header Location

2008-06-03 Thread paolo dot carlini at oracle dot com


--- Comment #1 from paolo dot carlini at oracle dot com  2008-06-03 09:17 
---
This is known. At the right time we debated this issue and in fact some people
commented that probably TR1 (n1836) should have more conveniently specified
tr1/*. In any case, also given the status of TR1 of technical report (*not*
standard) on the way of the next (so called C++0x) standard, which is the main
focus now, while TR1 is in regression fixes-only mode, we are not going to
change the paths now, breaking all *our* existing users.

By the way, in C++0x mode, the path is array. per the current working drafts.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Component|c++ |libstdc++
 Resolution||WONTFIX
Summary|std::tr1 Header Location|std::tr1 Header Location


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