diff --git a/platformio/builder/tools/pioide.py b/platformio/builder/tools/pioide.py index 4093712e..833d9b84 100644 --- a/platformio/builder/tools/pioide.py +++ b/platformio/builder/tools/pioide.py @@ -68,9 +68,7 @@ def _get_gcc_defines(env): sysenv = environ.copy() sysenv['PATH'] = str(env['ENV']['PATH']) result = util.exec_command( - "echo | %s -dM -E -x c++ -" % env.subst("$CC"), - env=sysenv, - shell=True) + "echo | %s -dM -E -" % env.subst("$CC"), env=sysenv, shell=True) except OSError: return items if result['returncode'] != 0: