Re: Help - std::string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Still no luck

make  all-am
make[1]: Entering directory `/usr/src/cone-0.52/maildir'
Compiling maildirsearch.c
Compiling maildirsearchC.cpp
In file included from maildirsearchC.cpp:7:
maildirsearch.h:87:18: string: No such file or directory
In file included from maildirsearchC.cpp:7:
maildirsearch.h:95: error: syntax error before `;' token
maildirsearch.h:97: error: syntax error before `;' token
maildirsearch.h:103: error: `string' undeclared in namespace `std'
maildirsearch.h:103: error: parse error before `)' token
maildirsearch.h: In member function `int mail::Search::setString(...)':
maildirsearch.h:105: error: `String' undeclared (first use this function)
maildirsearch.h:105: error: (Each undeclared identifier is reported only
once
   for each function it appears in.)
maildirsearch.h:105: error: `s' undeclared (first use this function)
make[1]: *** [maildirsearchC.o] Error 1
make[1]: Leaving directory `/usr/src/cone-0.52/maildir'
make: *** [all] Error 2

----- Original Message ----- 
From: "John Love-Jensen" <eljay@xxxxxxxxx>
To: "Jim Gifford" <jim@xxxxxxxxx>; <gcc-help@xxxxxxxxxxx>
Sent: Monday, August 11, 2003 7:59 AM
Subject: Re: Help - std::string


> Hi Jim,
>
> The std::string is located in <string>, not in <string.h> (which isn't a
C++
> header file).
>
> FYI.  The Standard C Library's string routines are in <cstring>, not
> <string.h>.
>
> HTH,
> --Eljay
>
>
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux