]> granicus.if.org Git - esp-idf/commitdiff
Updated command to get compiler specs.
authorDennis Damen <dmdamen@users.noreply.github.com>
Thu, 30 Aug 2018 20:00:47 +0000 (22:00 +0200)
committerGitHub <noreply@github.com>
Thu, 30 Aug 2018 20:00:47 +0000 (22:00 +0200)
Eclipse was unable to resolve the std::mutex type eventhough the mutex header file was succesfully included. By adding this modification, the issues was resolved.

docs/en/get-started/eclipse-setup.rst

index e07c700e469bacfed3debe035d9dc6577cd5cbb4..1a88bd6c5b751bb95fbe77c0c67f34ec3d578a8c 100644 (file)
@@ -59,7 +59,7 @@ Navigate to "C/C++ General" -> "Preprocessor Include Paths" property page:
 
 * Click the "Providers" tab
 
-* In the list of providers, click "CDT Cross GCC Built-in Compiler Settings". Change "Command to get compiler specs" to ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``.
+* In the list of providers, click "CDT Cross GCC Built-in Compiler Settings". Change "Command to get compiler specs" to ``xtensa-esp32-elf-gcc ${FLAGS} -std=c++11 -E -P -v -dD "${INPUTS}"``.
 
 * In the list of providers, click "CDT GCC Build Output Parser" and change the "Compiler command pattern" to ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``