]> granicus.if.org Git - esp-idf/commit
Fix CDT GCC parser to correctly parse C++ commands
authordziekon <dziekon@gmail.com>
Fri, 15 Sep 2017 22:02:33 +0000 (00:02 +0200)
committerAngus Gratton <gus@projectgus.com>
Wed, 20 Sep 2017 02:06:23 +0000 (12:06 +1000)
commite822b3788370d2861869bdade9f0b332d4c01fa3
tree3bc49b738be90922c4838c96219b7b42d271d5df
parent5a98cbfc0cd79213b43d4f0527bf8eae2017df2f
Fix CDT GCC parser to correctly parse C++ commands

Previously suggested parser command pattern:

xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)

was incorrect for compilation of c++ files, as it is expanded by Eclipse into or between:

xtensa-esp32-elf-(g?cc)
([gc]\+\+)
(clang)

Additional grouping around existing pattern solves that issue, and helps Eclipse to correctly find ESP-IDF includes.

Merges https://github.com/espressif/esp-idf/pull/1005
docs/get-started/eclipse-setup-windows.rst