Menu

#1188 Macromanager does not replace double qote macro with nothing in the expansion

Undefined
pending
None
Feature_Request
2022-07-02
2022-01-30
No

Currently in allot the project files the WX_CFG environment variable is defined as follows and in the debug log the variable is shown as \"\" (2 x double quotes.).

<Variable name="WX_CFG" value="" />

It would be nice to instead of having the output show \"\" that the output for this shows nothing (empty). This would make the compiler lines in the build log easier to read as there would not be any \"\".

Discussion

  • Andrew Cottrell

    Andrew Cottrell - 2022-06-16

    Any chance that some one can have a look at the patch and see if it is okay or not?

    The macrosmanager.cpp file has changed since I created the v1 patch. I have created a new patch as the line numbers for the changes are different, but the code changes are the same. I would not call myself a SVN user (okay I use it for SF only) and as such I do not know if the old patch will apply cleanly so I thought a new one would definitely apply cleanly.

    I have been using the code changes since early Feb 2022 and have not seen or come across any issues on Windows, Linux or MacOS.

     
  • Andrew Cottrell

    Andrew Cottrell - 2022-06-21

    Any takers to look at the patch?

     
    • Morten MacFly

      Morten MacFly - 2022-06-21

      I am still trying to grasp what you have in mind... In theory an environment variable could really be a number of quotes. What would happen in that case?

      Like this:

      SET ENVVAR=""
      

      ...is valid.

       
  • Morten MacFly

    Morten MacFly - 2022-06-21
    • status: open --> pending
    • assigned_to: Morten MacFly
     
  • Andrew Cottrell

    Andrew Cottrell - 2022-06-21

    Have you looked at the C::B build output where WX_CFG is set to "" in the project file(s)?

     
    • Andrew Cottrell

      Andrew Cottrell - 2022-07-02

      Another stalled one.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.