Click here to Skip to main content
16,011,436 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralSTL string (basic_string) Question. Pin
petrym30-Aug-03 10:40
petrym30-Aug-03 10:40 
GeneralRe: STL string (basic_string) Question. Pin
ZoogieZork30-Aug-03 17:52
ZoogieZork30-Aug-03 17:52 
GeneralRe: STL string (basic_string) Question. Pin
petrym30-Aug-03 19:46
petrym30-Aug-03 19:46 
GeneralRe: STL string (basic_string) Question. Pin
ZoogieZork30-Aug-03 22:16
ZoogieZork30-Aug-03 22:16 
GeneralRe: STL string (basic_string) Question. Pin
petrym31-Aug-03 7:38
petrym31-Aug-03 7:38 
GeneralRe: STL string (basic_string) Question. Pin
ZoogieZork31-Aug-03 8:10
ZoogieZork31-Aug-03 8:10 
GeneralRe: STL string (basic_string) Question. Pin
petrym31-Aug-03 9:31
petrym31-Aug-03 9:31 
GeneralSTLPORT + locale will not compile Pin
John M. Drescher30-Aug-03 7:55
John M. Drescher30-Aug-03 7:55 
I am using stlport 4.5.3 with _STLP_NO_OWN_IOSTREAMS defined in MSVC6 and I get 66 errors with locale. Here is the test program:

#include <string>
using namespace std;

#include <locale>

int main(int argc, char* argv[])
{
	return 0;
}



f:\program files\microsoft visual studio\vc98\include\xiosbase(106) : error C2146: syntax error : missing ';' before identifier 'precision'
f:\program files\microsoft visual studio\vc98\include\xiosbase(106) : error C2501: 'streamsize' : missing storage-or type specifiers
f:\program files\microsoft visual studio\vc98\include\xiosbase(107) : warning C4183: 'precision': member function definition looks like a ctor, but name does not match enclosing class
f:\program files\microsoft visual studio\vc98\include\xiosbase(108) : error C2146: syntax error : missing ';' before identifier 'precision'
f:\program files\microsoft visual studio\vc98\include\xiosbase(108) : error C2501: 'streamsize' : missing storage-or type specifiers
f:\program files\microsoft visual studio\vc98\include\xiosbase(111) : warning C4183: 'precision': member function definition looks like a ctor, but name does not match enclosing class
f:\program files\microsoft visual studio\vc98\include\xiosbase(112) : error C2146: syntax error : missing ';' before identifier 'width'
f:\program files\microsoft visual studio\vc98\include\xiosbase(112) : error C2501: 'streamsize' : missing storage-or type specifiers
f:\program files\microsoft visual studio\vc98\include\xiosbase(113) : warning C4183: 'width': member function definition looks like a ctor, but name does not match enclosing class
f:\program files\microsoft visual studio\vc98\include\xiosbase(114) : error C2146: syntax error : missing ';' before identifier 'width'
f:\program files\microsoft visual studio\vc98\include\xiosbase(114) : error C2501: 'streamsize' : missing storage-or type specifiers
f:\program files\microsoft visual studio\vc98\include\xiosbase(114) : error C2061: syntax error : identifier 'streamsize'
f:\program files\microsoft visual studio\vc98\include\xiosbase(117) : warning C4183: 'width': member function definition looks like a ctor, but name does not match enclosing class
f:\program files\microsoft visual studio\vc98\include\locale(171) : error C2664: 'compare' : cannot convert parameter 1 from 'dbg_iter ' to 'const char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
x:\stlport\stlport\using\locale(9) : error C2039: 'locale' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(9) : error C2873: 'locale' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(10) : error C2039: 'use_facet' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(10) : error C2873: 'use_facet' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(11) : error C2039: 'has_facet' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(11) : error C2873: 'has_facet' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(29) : error C2039: 'ctype_base' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(29) : error C2873: 'ctype_base' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(30) : error C2039: 'ctype' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(30) : error C2873: 'ctype' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(31) : error C2039: 'ctype_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(31) : error C2873: 'ctype_byname' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(32) : error C2039: 'codecvt_base' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(32) : error C2873: 'codecvt_base' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(33) : error C2039: 'codecvt' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(33) : error C2873: 'codecvt' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(34) : error C2039: 'codecvt_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(34) : error C2873: 'codecvt_byname' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(37) : error C2039: 'num_get' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(37) : error C2873: 'num_get' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(38) : error C2039: 'num_put' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(38) : error C2873: 'num_put' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(39) : error C2039: 'numpunct' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(39) : error C2873: 'numpunct' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(40) : error C2039: 'numpunct_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(40) : error C2873: 'numpunct_byname' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(43) : error C2039: 'collate' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(43) : error C2873: 'collate' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(44) : error C2039: 'collate_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(44) : error C2873: 'collate_byname' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(47) : error C2039: 'time_base' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(47) : error C2873: 'time_base' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(48) : error C2039: 'time_get' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(48) : error C2873: 'time_get' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(49) : error C2039: 'time_get_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(49) : error C2873: 'time_get_byname' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(50) : error C2039: 'time_put' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(50) : error C2873: 'time_put' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(51) : error C2039: 'time_put_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(51) : error C2873: 'time_put_byname' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(54) : error C2039: 'money_base' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(54) : error C2873: 'money_base' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(55) : error C2039: 'money_get' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(55) : error C2873: 'money_get' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(56) : error C2039: 'money_put' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(56) : error C2873: 'money_put' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(57) : error C2039: 'moneypunct' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(57) : error C2873: 'moneypunct' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(58) : error C2039: 'moneypunct_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(58) : error C2873: 'moneypunct_byname' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(61) : error C2039: 'messages_base' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(61) : error C2873: 'messages_base' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(62) : error C2039: 'messages' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(62) : error C2873: 'messages' : symbol cannot be used in a using-declaration
x:\stlport\stlport\using\locale(63) : error C2039: 'messages_byname' : is not a member of '`global namespace''
x:\stlport\stlport\using\locale(63) : error C2873: 'messages_byname' : symbol cannot be used in a using-declaration
Error executing cl.exe.

StdString.exe - 66 error(s), 4 warning(s)


John
GeneralCOM+ Application to Register my COM Component (VC++). Please Help ......... Pin
Atif Bashir28-Aug-03 21:08
Atif Bashir28-Aug-03 21:08 
GeneralRe: COM+ Application to Register my COM Component (VC++). Please Help ......... Pin
Brad Sokol29-Aug-03 2:52
Brad Sokol29-Aug-03 2:52 
GeneralXP Explorer Search like View Pin
Wild Wild Mike27-Aug-03 10:01
Wild Wild Mike27-Aug-03 10:01 
GeneralHandling ActiveX Events in VB Pin
nalinikanth26-Aug-03 3:34
nalinikanth26-Aug-03 3:34 
QuestionHow to run a script (.vbs) in VC++, Please help .... Pin
Atif Bashir26-Aug-03 2:43
Atif Bashir26-Aug-03 2:43 
AnswerRe: How to run a script (.vbs) in VC++, Please help .... Pin
palbano28-Aug-03 8:40
palbano28-Aug-03 8:40 
AnswerRe: How to run a script (.vbs) in VC++, Please help .... Pin
Vi229-Aug-03 4:36
Vi229-Aug-03 4:36 
Generalkeeping track of pointers to objects with STL Pin
Jeremy Pullicino26-Aug-03 0:04
Jeremy Pullicino26-Aug-03 0:04 
GeneralRe: keeping track of pointers to objects with STL Pin
Joaquín M López Muñoz26-Aug-03 3:32
Joaquín M López Muñoz26-Aug-03 3:32 
GeneralRe: keeping track of pointers to objects with STL Pin
Nemanja Trifunovic26-Aug-03 5:07
Nemanja Trifunovic26-Aug-03 5:07 
QuestionHow to load a cursor dymamically, from a dynamically created bitmap? Pin
Garuna25-Aug-03 22:20
Garuna25-Aug-03 22:20 
GeneralWTL + Time/Date information Pin
Ernesto D.23-Aug-03 22:00
Ernesto D.23-Aug-03 22:00 
GeneralRe: WTL + Time/Date information Pin
Stuart Dootson23-Aug-03 23:18
professionalStuart Dootson23-Aug-03 23:18 
GeneralRe: WTL + Time/Date information Pin
Steve S25-Aug-03 22:19
Steve S25-Aug-03 22:19 
GeneralRe: WTL + Time/Date information Pin
Ernesto D.26-Aug-03 9:46
Ernesto D.26-Aug-03 9:46 
GeneralRe: WTL + Time/Date information Pin
Rob Caldecott26-Aug-03 23:23
Rob Caldecott26-Aug-03 23:23 
GeneralRe: WTL + Time/Date information Pin
Ernesto D.27-Aug-03 14:54
Ernesto D.27-Aug-03 14:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.