Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
Development / Re: Use of '_T("...")' with 'CB'
« Last post by LETARTARE on September 03, 2026, 05:53:28 pm »
@gd_on

Can you try to replace "...." => wxS(".....") or wxString(".....") on these lines ?
22
Development / Re: Use of '_T("...")' with 'CB'
« Last post by Miguel Gimenez on September 03, 2026, 05:30:38 pm »
Sacre bleu!   ;D
23
Development / Re: Use of '_T("...")' with 'CB'
« Last post by gd_on on September 03, 2026, 05:27:43 pm »
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|
May be there are other problems, but the compiler stops there in parserthread.
24
Development / Re: Use of '_T("...")' with 'CB'
« Last post by LETARTARE on September 03, 2026, 05:11:28 pm »
@gd_on
Could you tell me the line or the lines involved ?

Because under 'Leap-15.6, gcc-15.2' I can't find any error in 'parserthread.cpp' when compiling.
25
Development / Re: Use of '_T("...")' with 'CB'
« Last post by Miguel Gimenez on September 03, 2026, 05:10:05 pm »
Are these errors inside calls to TRACE()?
26
Patch applied in r13992, thank you.

NOTE: The patch did not apply cleanly on current trunk, some hunks were rejected (probably because of changes made by r13991). I had to apply it manually.
27
Development / Re: Use of '_T("...")' with 'CB'
« Last post by LETARTARE on September 03, 2026, 04:55:35 pm »
I look immediately...
28
Development / Re: Use of '_T("...")' with 'CB'
« Last post by gd_on on September 03, 2026, 04:48:15 pm »
Problem with svn 13991.
Apparently, at least in parserthread.cpp, some strings have been changed inside the ?: operator. This does not work.
29
Development / Re: Use of '_T("...")' with 'CB'
« Last post by LETARTARE on September 03, 2026, 12:15:36 pm »
For those who are interested in research:

Here is the regular expression to use for '_T(' in 'CB'
Research :
Code
 '_T\(("(\\"|[^"])*")\)'
Replace :
Code
'\1'
Note : the ' must not be written
30
Development / Re: Use of '_T("...")' with 'CB'
« Last post by LETARTARE on September 03, 2026, 11:38:28 am »
I just provided three fixes (1636, 1637, 1638) to replace
 
Code
'_T("...")' or  'wxT("...")' by '"..."'
for 'autosave', 'classwizard', codecompletion' plugins
Pages: 1 2 [3] 4 5 6 7 8 ... 10