public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/35622]  New: Cannot declare vector of unordered_maps
@ 2008-03-18  2:30 danielc at cs dot stanford dot edu
  2008-03-18  5:12 ` [Bug libstdc++/35622] " bangerth at dealii dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: danielc at cs dot stanford dot edu @ 2008-03-18  2:30 UTC (permalink / raw)
  To: gcc-bugs

Cannot declare this:

using namespace std;
vector< tr1::unordered_map<int,int> > dsfdsfds;


-- 
           Summary: Cannot declare vector of unordered_maps
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danielc at cs dot stanford dot edu
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


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


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

* [Bug libstdc++/35622] Cannot declare vector of unordered_maps
  2008-03-18  2:30 [Bug libstdc++/35622] New: Cannot declare vector of unordered_maps danielc at cs dot stanford dot edu
@ 2008-03-18  5:12 ` bangerth at dealii dot org
  2008-03-18 15:03 ` chris at bubblescope dot net
  2008-03-30  9:27 ` pcarlini at suse dot de
  2 siblings, 0 replies; 4+ messages in thread
From: bangerth at dealii dot org @ 2008-03-18  5:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bangerth at dealii dot org  2008-03-18 05:12 -------
What happens when you do this? And what are the header files you use?


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug libstdc++/35622] Cannot declare vector of unordered_maps
  2008-03-18  2:30 [Bug libstdc++/35622] New: Cannot declare vector of unordered_maps danielc at cs dot stanford dot edu
  2008-03-18  5:12 ` [Bug libstdc++/35622] " bangerth at dealii dot org
@ 2008-03-18 15:03 ` chris at bubblescope dot net
  2008-03-30  9:27 ` pcarlini at suse dot de
  2 siblings, 0 replies; 4+ messages in thread
From: chris at bubblescope dot net @ 2008-03-18 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from chris at bubblescope dot net  2008-03-18 15:02 -------
#include <vector>
#include <tr1/unordered_map>

using namespace std;

int main(void)
{
  vector<tr1::unordered_map<int,int> > v;
}

Runs fine here, using:

Using built-in specs.
Target: i386-apple-darwin9.2.0
Configured with: ../gcc/configure --enable-languages=c,c++
--prefix=/Users/caj/gccsvn/
Thread model: posix
gcc version 4.4.0 20080305 (experimental) (GCC) 


-- 


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


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

* [Bug libstdc++/35622] Cannot declare vector of unordered_maps
  2008-03-18  2:30 [Bug libstdc++/35622] New: Cannot declare vector of unordered_maps danielc at cs dot stanford dot edu
  2008-03-18  5:12 ` [Bug libstdc++/35622] " bangerth at dealii dot org
  2008-03-18 15:03 ` chris at bubblescope dot net
@ 2008-03-30  9:27 ` pcarlini at suse dot de
  2 siblings, 0 replies; 4+ messages in thread
From: pcarlini at suse dot de @ 2008-03-30  9:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pcarlini at suse dot de  2008-03-30 09:27 -------
Really, this is a WORKSFORME, code in Comment #2 is fine everywhere.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2008-03-30  9:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-18  2:30 [Bug libstdc++/35622] New: Cannot declare vector of unordered_maps danielc at cs dot stanford dot edu
2008-03-18  5:12 ` [Bug libstdc++/35622] " bangerth at dealii dot org
2008-03-18 15:03 ` chris at bubblescope dot net
2008-03-30  9:27 ` pcarlini at suse dot de

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).