Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Last standing unicode problem
mandrav:
--- Quote from: rickg22 on November 24, 2005, 11:53:36 pm ---Yiannis: Mind giving us a particular filename / line no. ?
--- End quote ---
Sure. Here's the file I noticed the problem:
file: src/plugins/debuggergdb/gdb_commands.h
line: 189
--- Code: ---m_Cmd << out << _T(":") << bp->line + 1;
--- End code ---
rickg22:
--- Quote ---m_Cmd << out << _T(":") << bp->line + 1;
--- End quote ---
Try this:
--- Code: ---m_Cmd << out << _T(":") << (bp->line + 1);
--- End code ---
Or this:
--- Code: ---m_Cmd << out << _T(":");
m_Cmd << (bp->line + 1);
--- End code ---
Or this:
--- Code: ---(m_Cmd << out << _T(":")) << (bp->line + 1);
--- End code ---
And tell us what happens.
mandrav:
--- Quote from: rickg22 on November 25, 2005, 12:40:30 am ---And tell us what happens.
--- End quote ---
No joy...
MortenMacFly:
Just curious, but does this work-around work?:
--- Code: ---std::string str;
str << "Hi" << 5;
wxString str_new(_T(str));
--- End code ---
Please notice that I've used default std::string for the first one.
(I cannot test it at the moment since I am at work.)
Morten.
mandrav:
--- Quote from: MortenMacFly on December 02, 2005, 12:19:16 pm ---Just curious, but does this work-around work?:
--- Code: ---std::string str;
str << "Hi" << 5;
wxString str_new(_T(str));
--- End code ---
Please notice that I've used default std::string for the first one.
(I cannot test it at the moment since I am at work.)
Morten.
--- End quote ---
Using the STL is not an accepted solution...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version