]> granicus.if.org Git - esp-idf/commitdiff
docs: update command to get compiler specs in a few more places
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 5 Sep 2018 03:05:52 +0000 (11:05 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 5 Sep 2018 03:05:52 +0000 (11:05 +0800)
docs/en/get-started/eclipse-setup-windows.rst
docs/zh_CN/get-started/eclipse-setup-windows.rst
docs/zh_CN/get-started/eclipse-setup.rst

index 8cefffcb3a40661a4fc41d428b7eaf0e96180615..89a12e789b12804d942ad3f11beaf3670387e3af 100644 (file)
@@ -57,7 +57,7 @@ Project Properties
 
   * 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)``
 
index 6b9de3696b40255bb6966f6f1bf10ab233e80a9f..090cc058f067d7add5a9c72d30644b2cc9edfccf 100644 (file)
@@ -59,7 +59,7 @@ Windows 平台上的 Eclipse 配置
 
        * 点击 “Providers” 选项卡。
        
-               * 从 “Providers” 列表中选择 “CDT Cross GCC Built-in Compiler Settings”,将 “Command to get compiler specs” 修改为 ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``
+               * 从 “Providers” 列表中选择 “CDT Cross GCC Built-in Compiler Settings”,将 “Command to get compiler specs” 修改为 ``xtensa-esp32-elf-gcc ${FLAGS}  -std=c++11 -E -P -v -dD "${INPUTS}"``
                
                * 从 “Providers” 列表中选择 “CDT GCC Build Output Parser”,将 “Compiler command pattern” 修改为 ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``
 
index 566b7de5c564f9aa9c91e718cbe7d587b5f8d656..d63c8be5dd22c1c42f7eed1787f6fb4f722b8827 100644 (file)
@@ -59,7 +59,7 @@ Windows 用户
 
        * 点击 “Providers” 选项卡。
        
-               * 从 “Providers” 列表中选择 “CDT Cross GCC Built-in Compiler Settings”,将 “Command to get compiler specs” 修改为 ``xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"``
+               * 从 “Providers” 列表中选择 “CDT Cross GCC Built-in Compiler Settings”,将 “Command to get compiler specs” 修改为 ``xtensa-esp32-elf-gcc ${FLAGS} -std=c++11 -E -P -v -dD "${INPUTS}"``
                
                * 从 “Providers” 列表中选择 “CDT GCC Build Output Parser”,将 “Compiler command pattern” 修改为 ``xtensa-esp32-elf-(gcc|g\+\+|c\+\+|cc|cpp|clang)``