News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Double $$'s on Tools configuration

Started by Pecan, November 26, 2015, 04:15:06 PM

Previous topic - Next topic

Pecan

Tools->Configure tools->add shows Double $$'s prepended to macros.

Is it really supposed to be double $$'s ?

svn build  rev 10570 (2015-11-14 16:53:59)   gcc 4.9.2 Windows/unicode - 32 bit

oBFusCATed

I can confirm the issue. I don't know what is correct, probably single dollar sign.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Pecan

I've played around with it for awhile, and I cannot make $$(macro) work. It always prints the same value as the macro name, ie., $$(projectdir) just prints out '$(projectdir)'.

If there's no objection, I'll change $$(<macro>) back to $(<macro>).


MortenMacFly

Quote from: Pecan on November 27, 2015, 05:50:55 PM
If there's no objection, I'll change $$(<macro>) back to $(<macro>).
Do you mean in the description of the UI? It has been with $$ for many years, I don't know why but I also always use the $ macros, of course.

It might have been becasue it needed to be masked as it is in an XRC file... at least nowadays there is no need for it.

No objections if you want to change it.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Pecan


White-Tiger

I've actually a local version of a similar case in advanced compiler options...
But it also fixes the underscores as they're missing currently

You might want to take a look ;)
Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]