LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-03-2021, 02:33 AM   #1
YehudaSinger
LQ Newbie
 
Registered: Jun 2013
Posts: 29

Rep: Reputation: Disabled
Angry Problems in using <map>


Dear Sir/Mrs.
We want to use the <map> from the STL library in GNU and CLANG C++ projects.
Of course we inserted the include statement:
#include <map>

We get a compilation error on the statement:

::std::map<::std::string, table_entry*>

The error is that ::std:map can not be resolved. We also tried using std::map. In vain.

Thaks for your help.
Yehuda
 
Old 05-03-2021, 02:45 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,490

Rep: Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532Reputation: 5532
[obviously] dropping in an error message is not enough to diagnose this issue.
Most probably there is something in the source file we would need to know ....
Would be nice to prepare a small c++ example to demonstrate it (=to make it reproducible for us).
 
  


Reply

Tags
c++11, clang, gcc, red hat linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add your local knowledge to the map with Google Map Maker for the United States mjolnir General 4 05-04-2011 04:27 PM
Kernel virtual memory map TO Board memory map -----> Mapping !rajkums! Linux - Embedded & Single-board computer 0 10-18-2008 09:21 AM
"Partition map has no partition map entry!" aquaboot Debian 3 01-09-2007 06:52 AM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 06:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration