Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 118794 - new_allocator.h buglet (allocator should be std::allocator?)
new_allocator.h buglet (allocator should be std::allocator?)
Product: Fedora
Classification: Fedora
Component: gcc34 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2004-03-20 08:17 EST by Neal Becker
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 3.4.0-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-27 08:20:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Neal Becker 2004-03-20 08:17:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)

Description of problem:
//using namespace std;
#include "demangle.h"
g++34 -c Test.cc
In file included from demangle.h:40,
                 from Test.cc:2:
/usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/ext/new_allocator.h:80: error: `allocator' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/ext/new_allocator.h:80: error: expected `,' or `...' before '<' token

I think the problem is in ext/new_allocator.h allocator should be std::allocator.  Possible need include to declare this also.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Additional info:
Comment 1 Jakub Jelinek 2004-03-22 12:19:00 EST
This has been already fixed in CVS on gcc-3_4-branch and will show up
as soon as next gcc34 rpms will be made.
Comment 2 Jakub Jelinek 2004-05-27 08:20:02 EDT
Seems to work for me in libstdc++34-devel-3.4.0-1.

Note You need to log in before you can comment on or make changes to this bug.