Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
Development / Re: Use of '_T("...")' with 'CB'
« Last post by Miguel Gimenez on September 03, 2026, 05:59:51 pm »
Quote
Yes, all problems are in TRACE : lines 1473, 2347, 2357, 2371, 3200, 3258

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.
12
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 ?
13
Development / Re: Use of '_T("...")' with 'CB'
« Last post by Miguel Gimenez on September 03, 2026, 05:30:38 pm »
Sacre bleu!   ;D
14
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.
15
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.
16
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()?
17
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.
18
Development / Re: Use of '_T("...")' with 'CB'
« Last post by LETARTARE on September 03, 2026, 04:55:35 pm »
I look immediately...
19
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.
20
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
Pages: 1 [2] 3 4 5 6 7 ... 10