Author Topic: Double $$'s on Tools configuration  (Read 4201 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777
Double $$'s on Tools configuration
« on: November 26, 2015, 04:15:06 pm »
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
« Last Edit: November 26, 2015, 04:24:24 pm by Pecan »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Double $$'s on Tools configuration
« Reply #1 on: November 27, 2015, 06:27:47 am »
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!]

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777
Re: Double $$'s on Tools configuration
« Reply #2 on: November 27, 2015, 05:50:55 pm »
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>).


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Double $$'s on Tools configuration
« Reply #3 on: November 28, 2015, 05:53:21 am »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777
Re: Double $$'s on Tools configuration
« Reply #4 on: November 28, 2015, 03:12:51 pm »
Applied: SVN 10604

Offline White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: Double $$'s on Tools configuration
« Reply #5 on: November 30, 2015, 01:39:24 pm »
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)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Double $$'s on Tools configuration
« Reply #6 on: December 07, 2015, 08:02:10 pm »
You might want to take a look ;)
You were right. Applied in trunk. Thank you!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ