Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
General (but related to Code::Blocks) / Re: Any idea?
« Last post by Miguel Gimenez on April 25, 2025, 04:50:52 pm »
Profile spammer reported to moderator.
12
Help / Re: Pls help if you can!
« Last post by Miguel Gimenez on April 25, 2025, 04:46:08 pm »
The OP is a profile spammer, he has no interest on answers.
13
Plugins development / Re: CC NONPCH issue/patch for wxWidgets 3.3
« Last post by Miguel Gimenez on April 25, 2025, 04:37:54 pm »
Applied in r13656, thank you.
14
Using Code::Blocks / Re: cryptic hints regarding translations
« Last post by gd_on on April 25, 2025, 04:32:59 pm »
The problem you have is probably related to the fact that this launchpad site (https://launchpad.net/codeblocks) has not been updated for many years. It is too old and not maintained anymore (it contains only 2173 string, but Code::Blocks presently contains approximately 10300 translatable strings).
Myself, I was unable to upload a new .pot file in the past on this site, so I have created a new one whose name is different but quite similar :
https://launchpad.net/codeblocks-gd (just a small -gd more !).
I update regularly the .pot file, so translators can work on it to obtain updated .po and .mo files.
15
Using Code::Blocks / cryptic hints regarding translations
« Last post by rechtsanwaltsteyer on April 25, 2025, 01:25:39 pm »
Hello DEVs,
for some time now, I've been uploading *.po files to Launchpad so that other developers/customers can use my translations. Now I always get cryptic responses from there. Here's an excerpt:

Hello RASteyer,

On 2025-04-15 11:53z (5 hours 48 minutes ago), you uploaded 9010 German (de) translations for codeblocks in Code::Blocks trunk in Launchpad.

There were problems with 41 of these translations.

796. "This message was updated by someone else after you got the
translation file. This translation is now stored as a suggestion, if you
want to set it as the used one, go to
https://translations.launchpad.net/codeblocks/trunk/+pots/codeblocks/de/+translate
and approve it.":

#: plugins_xrc.cpp:7
msgid ""
"You will be asked for the macro substitution value, when auto-completing."
msgid ""
"You will be asked for the value of the" during autocomplete.
"Macro replacement requested."

Since my translation program doesn't complain after calling, for example, "msgfmt -o codeblocks-gms-de_1-000-178a.mo codeblocks-gms-de_1-000-178a.po" and therefore everything seems to be fine, I don't understand Launchpad's instructions.
Greetings and hoping for an answer.
16
Using Code::Blocks / Variables
« Last post by Code::blocks on April 25, 2025, 01:21:27 pm »
I see both global variables in a list named "symbols" in code::blocks 25.03.
Can I see both unglobal and global variables in that list?
If not, I wish the next update can let me see both unglobal and global variables in that list.
Thanks
17
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by Code::blocks on April 25, 2025, 01:13:41 pm »
I am new, I am here
18
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by Wkerry on April 25, 2025, 03:57:46 am »
More info:

If I change the "GNU GCC Compiler" installation directory from C:\msys64\mingw32 to C:\msys64\mingw64 the error goes away.
I have the "GNU GCC MSYS MinGW64 Compiler" compiler setup as default.

The CC_ProxyProject.cbp has the <Option compiler="gcc" /> which when I load it and look at which compiler it is using it is the "GNU GCC Compiler" compiler. It looks like "GNU GCC Compiler" has at some stage has detected the compiler in the C:\msys64\mingw32 directory.

I did configure MSYS2 for both 32 and 64 bit originally as I had to support some 32 bit XP apps, but I have not used the 32 bit tool-chain for a few years.
19
Development / Re: Custom variables
« Last post by LETARTARE on April 25, 2025, 02:00:56 am »
Thank you very much.
This is exactly what I needed to read user-defined variables from a project.
20
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by stahta01 on April 24, 2025, 07:04:39 pm »
Somewhere there is a setting for which clangd is used by Code::Blocks check that is correct.

Edit: Best guess "settings->Editor"

To devs: Feature request that the setting of "$(TARGET_COMPILER_DIR)\bin\clangd.exe" works for clangd plugin; the clang plugin already has the code; but, the value  of $(TARGET_COMPILER_DIR) is not know at the point in time; might not be possible for it to be known

Edit2: Looks like code is too complex for me to understand ClgdCompletion::OnAppStartupDone

Tim S.

I'll look to see if this is workable.
I vaguely remember that I tried this, but the needed macros were unknown at project load which is where the clangd.exe needs to be set.
But I'll look at it again anyway.

It does replace with global variable which means you are likely right and the value is empty at that time.

Edit: A more important related bug is it fails to find the clangd.exe in the MINGW installation folder of an CB installed with Mingw compiler.
Pages: 1 [2] 3 4 5 6 7 ... 10