bugKimwitu++ - Bugs: bug #32500, In generated k.cc, replace...

 
 

bug #32500: In generated k.cc, replace <hash_set> with <unordered_set>

Submitter:  None
Submitted:  Wed 16 Feb 2011 05:35:36 AM UTC
   
 
Category:  code generation Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Feb 2011 05:35:36 AM UTC, original submission:  

This might depend on g++ version: hash_set was deprecated with g++ 4.3 and unordered_set was introduced. On Ubuntu 10.04/i686, g++ 4.4.0 issues a "backward warning" on the use of this deprecated header:

$ g++ -g -Wall -Wno-unused -DYYDEBUG -DYYERROR_VERBOSE   -c -o k.o k.cc
In file included from /usr/include/c++/4.4/ext/hash_set:60,
                 from k.cc:32:
/usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code