User forums > Nightly builds

The 13 August 2022 build (12864) is out.

<< < (13/15) > >>

gd_on:

--- Quote ---Is cb_release_type with base of -g equivalent to cb_build  with cflags of -O2 ?

--- End quote ---
No. cb_release_type with base of -g is equivalent to cb_build with cflags of -g. For me cb_release-type has exactly the same meaning and usage than cb_build.cflags.
I have done this because it's not a good practice to have two different variables with the same contents and are supposed to do the same thing. So, as made by Andrew Cottrel in his own cbps, I have chosen to use cb_build.cflags and to replace all cb_release_type which were still present in some cbps.

Frank_CB:
@gd_on:
I didn't think so. However, your latest World.cbp has several occurrences of the variable cb_release_type being used. That is contrary to your statements that you no longer use that variable. My cb_release_type is -g. The cb_build.cflags variable is -O2 per your instructions. I doubt that is what causes my build failures.

However, with over 4350+ statements in World.cbp, there could possibly be other things that were overlooked.

Regards

gd_on:
You are right, but there was only one cb_release_type, in codeblocks_windows.cbp and unfortunately at a global level, so used at each compilation!
Here again a corrected version.

PS: to be sure that nobody will use old versions, I have deleted all other Cbps_*.7z in previous post.

Frank_CB:
@gd_on:
There are 4361 lines of code in 32_64.cbp and 4356 lines of code in World.cbp. You removed the following lines of code from 32_64.cbp:

--- Code: ---                        <Environment>
<Variable name="WX_CFG" value="64" />
<Variable name="WX_SUFFIX" value="u" />
<Variable name="WX_VERSION" value="32" />
</Environment>

--- End code ---
, but never replaced them with the global variables you created for wxwidgets. I suspect this is causing the failures.

I used WinMerge to compare the two programs.

Regards

Frank_CB:
A couple tools you might find useful !

WinMerge is an open sorce application from: www.winmaege.org

XML Editor is a free application from: https://xml-copy-editor.sourceforge.io/

Regards

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version