Hi all,
In a class of mine I tried to use the following member:
std::map<std::s tring, std::set<std::s tring> > m_files;
but I recieved the following error message:
mips-tfile, /tmp/cceNEN7W.s:286 String too big (5071 bytes)
line: #.stabs "lower_bound::1 317:_ZNSt8_Rb_t reeISsSt4
pairIKSsSt3setI SsSt4lessISsESa ISsEEESt10_Sele ct1stIS7_ES4_Sa IS7
_EE11lower_boun dERS1_;2A.1318: _ZNKSt8_Rb_tree ISsSt4pairIKSsS t3s
etISsSt4lessISs ESaISsEEESt10_S elect1stIS7_ES4 _SaIS7_EE11lowe r_b
oundERS1_;2B.;u pper_bound::131 7:_ZNSt8_Rb_tre eISsSt4pairIKSs St3
setISsSt4lessIS sESaISsEEESt10_ Select1stIS7_ES 4_SaIS7_EE11upp er_
boundERS1_;2A.1 318
and the message continues in this criptographic pattern for more 30 or 40 lines.
I am using gcc 3.0.2 on a Tru64 machine.
Did I do something wrong? Is this expected? Is there a workaround?
Thanks.
Marcelo Pinto 4 2375
"Marcelo Pinto" <mp****@brturbo .com> wrote... In a class of mine I tried to use the following member:
std::map<std::s tring, std::set<std::s tring> > m_files;
but I recieved the following error message:
mips-tfile, /tmp/cceNEN7W.s:286 String too big (5071 bytes) line: #.stabs "lower_bound::1 317:_ZNSt8_Rb_t reeISsSt4 pairIKSsSt3setI SsSt4lessISsESa ISsEEESt10_Sele ct1stIS7_ES4_Sa IS7 _EE11lower_boun dERS1_;2A.1318: _ZNKSt8_Rb_tree ISsSt4pairIKSsS t3s etISsSt4lessISs ESaISsEEESt10_S elect1stIS7_ES4 _SaIS7_EE11lowe r_b oundERS1_;2B.;u pper_bound::131 7:_ZNSt8_Rb_tre eISsSt4pairIKSs St3 setISsSt4lessIS sESaISsEEESt10_ Select1stIS7_ES 4_SaIS7_EE11upp er_ boundERS1_;2A.1 318
and the message continues in this criptographic pattern for more 30 or 40
lines. I am using gcc 3.0.2 on a Tru64 machine.
Did I do something wrong? Is this expected? Is there a workaround?
Try the usual typedef workaround:
typedef std::string str;
typedef std::set<str> strset;
typedef std::map<str, strset> strsetmap;
and then
strsetmap m_files;
HTH
Victor
"Victor Bazarov" <v.********@com Acast.net> wrote in message news:<6BiLc.128 796$a24.30465@a ttbi_s03>... Try the usual typedef workaround:
typedef std::string str; typedef std::set<str> strset; typedef std::map<str, strset> strsetmap;
and then
strsetmap m_files;
HTH
Victor
I tryed your sugestion and it didn't work.
[OT]
Then I realized that if I didn't use the -g option the source get
compiled just fine.
Are you aware of the reason why this is so?
[/OT]
Thanks,
Marcelo Pinto
Marcelo Pinto wrote: "Victor Bazarov" <v.********@com Acast.net> wrote in message news:<6BiLc.128 796$a24.30465@a ttbi_s03>...
Try the usual typedef workaround:
typedef std::string str; typedef std::set<str> strset; typedef std::map<str, strset> strsetmap;
and then
strsetmap m_files;
HTH
Victor
I tryed your sugestion and it didn't work. [OT] Then I realized that if I didn't use the -g option the source get compiled just fine.
Are you aware of the reason why this is so?
No, nor is it topical to comp.lang.c++. Try a newsgroup for your
compiler. Compiler options, name mangling, format of object files,
and so on, are not language-defined.
If there is no newsgroup that deals with your compiler, try the one
that deals with your OS. If none exists, try the technical support
for your compiler or/and OS.
V
Marcelo Pinto wrote: mips-tfile, /tmp/cceNEN7W.s:286 String too big (5071 bytes) line: #.stabs "lower_bound::1 317:_ZNSt8_Rb_t reeISsSt4 pairIKSsSt3setI SsSt4lessISsESa ISsEEESt10_Sele ct1stIS7_ES4_Sa IS7 _EE11lower_boun dERS1_;2A.1318: _ZNKSt8_Rb_tree ISsSt4pairIKSsS t3s etISsSt4lessISs ESaISsEEESt10_S elect1stIS7_ES4 _SaIS7_EE11lowe r_b oundERS1_;2B.;u pper_bound::131 7:_ZNSt8_Rb_tre eISsSt4pairIKSs St3 setISsSt4lessIS sESaISsEEESt10_ Select1stIS7_ES 4_SaIS7_EE11upp er_ boundERS1_;2A.1 318
I am using gcc 3.0.2 on a Tru64 machine.
This gcc bug was corrected in may 2003, you should upgrade your
compiler. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: champagne |
last post by:
Hello guys,
I am not very familiar with the compilation of C. Now I met a problem
while I tried to compile a file downloaded from web. The error message is
Myfile.h:41:28: sys/fcntlcom.h: No such file or directory
I don't know where the fcntlcom.h file located? Could you give me a hint
about how to handle this problem?
|
by: Connell Gauld |
last post by:
Hi,
I am having problems compiling a small project in VC++ 6. I have
included the error below and the full project (including workspace) can
be downloaded here:
http://www.freebreakfast.co.uk/Example1.zip
I am new to C++ (esp. using multiple files) and I am not sure I have
structured the files right (with the correct includes etc). Any other
suggestions about the code would be greatly appreciated.
Also, how do I implement threading in...
|
by: Alex Vinokur |
last post by:
Hi,
The code below has no problem with GNU g++ 3.3,
but it has a problem with GNU g++ 3.4.
What is reason for that?
--------- foo.cpp : BEGIN ---------
template <typename T>
struct Boo
|
by: Adriano Coser |
last post by:
Hello.
I'm trying to compile a DLL with Visual C++ .NET 2003 and I'm facing
an error declaring template variables with prototypes.
I don´t know if I'll be able to explain my scenario, but let's try.
The class TSample has a pointer (my smart pointer implementation) to a
IList (an indirect list based on the same smart pointers) to the type
TFontCache.
|
by: Marcelo |
last post by:
Hi everybody,
This is my first time with the template class and I have an strange problem. I
have spent all the afternoon trying to understand it, but I don't get the problem...
I have three files:
matrix.cpp (template class)
matrix.h
test.cpp
| |
by: marylipscomb |
last post by:
I have a question about my asp.net application.
It tells me that Name 'lblMessage' is not declared.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30451: Name 'lblMessage' is not declared.
Source Error:
|
by: f0zzyNUE |
last post by:
hi everyone,
currently we are testing the performance our application (asp.net
based CMS) ... for that reason we wrote a "spider" that starts
webrequests for all relevant pages which results in filling the
pageoutputcache on server side.
so far so good. if we start one spider at once our application works
fine, but if we run more than one spider tool at the same time the
asp.net process works for a few minutes returning correct http...
|
by: Agathamk |
last post by:
HI IM a new beginner for working with java /xml and i have a project in which I need to use the dom4j tool to read my xml file. But for some reason i keep getting a compilation error whenever i put the import codes is:
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.DocumentHelper;
import org.dom4j.io.SAXReader;
import org.dom4j.io.XMLWriter;
import org.dom4j.io.OutputFormat;
|
by: Alex Vinokur |
last post by:
Hi,
I have compilation problem on SUN CC compiler with template while
using option -m64 (64-bit addressing model).
No problem while using option -m32 (32-bit addressing model)
$ CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |