Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_flags not working with space #4360

Closed
1 task done
KawaiiZapic opened this issue Jul 16, 2022 · 1 comment
Closed
1 task done

build_flags not working with space #4360

KawaiiZapic opened this issue Jul 16, 2022 · 1 comment

Comments

@KawaiiZapic
Copy link

What kind of issue is this?

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

Configuration

Operating system: Windows 10 Pro x64

PlatformIO Version (platformio --version): PlatformIO Core, version 6.1.2a3

Description of problem

build_flags not working with space.

Steps to Reproduce

  1. add code in platformio.ini:
build_flags=
	'-DMYSTRING="Text is \\"Quoted\\"'
  1. Save.

Actual Results

PlatformIO will not update the c_cpp_properties.json

Expected Results

in c_cpp_properties.json:

"defines": [
                "MYSTRING=\"Text is \"Quoted\"",
 ]

Additional info

@KawaiiZapic KawaiiZapic changed the title build_flags not working with space. build_flags not working with space Jul 16, 2022
@ivankravets ivankravets added this to the 6.1.3 milestone Jul 18, 2022
@ivankravets ivankravets added bug and removed config platformio.ini labels Jul 29, 2022
@ivankravets
Copy link
Member

Thanks for the report! Fixed! Please re-test with pio upgrade --dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants