Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Use of '_T("...")' with 'CB'

<< < (3/4) > >>

gd_on:
Yes, all problems are in TRACE : lines 1473, 2347, 2357, 2371, 3200, 3258
Example :

--- Code: ---C:\Users\Gerard\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\codecompletion\parser\parserthread.cpp|3258|error: conditional expression between distinct pointer types 'const wxStringCharType*' {aka 'const wchar_t*'} and 'const char*' lacks a cast|

--- End code ---
May be there are other problems, but the compiler stops there in parserthread.

Miguel Gimenez:
Sacre bleu!   ;D

LETARTARE:
@gd_on

Can you try to replace "...." => wxS(".....") or wxString(".....") on these lines ?

Miguel Gimenez:

--- Quote ---Yes, all problems are in TRACE : lines 1473, 2347, 2357, 2371, 3200, 3258
--- End quote ---

Reverted r13991 in these lines, see r13994. Please try to compile again.

I do not know why LETARTARE and I do not get compilation errors while gd_on does.

gd_on:
Probably better, but that time an other error still with TRACE :

--- Code: ---C:\Users\Gerard\Documents\CodeBlocks_SVN\CodeBlocks_src\src\plugins\codecompletion\parser\parserthread.cpp|2991|error: 'kkm_LastUnnamedTokenName' was not declared in this scope; did you mean 'm_LastUnnamedTokenName'?|
--- End code ---
Apparently just kkm_ instead of m_

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version