You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/07/04 05:36:29 UTC

[incubator-nuttx] branch master updated: boards: cxd56xx: Change c++ option to -std=c++11

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a22af5  boards: cxd56xx: Change c++ option to -std=c++11
3a22af5 is described below

commit 3a22af5d9b68cebb1b65a025924b88b7a46e4aa9
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Sun Jul 4 12:47:03 2021 +0900

    boards: cxd56xx: Change c++ option to -std=c++11
    
    Change CXXFLAGS from -std=c++98 to -std=c++11.
---
 boards/arm/cxd56xx/spresense/scripts/Make.defs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/cxd56xx/spresense/scripts/Make.defs b/boards/arm/cxd56xx/spresense/scripts/Make.defs
index 66402ae..03001a3 100644
--- a/boards/arm/cxd56xx/spresense/scripts/Make.defs
+++ b/boards/arm/cxd56xx/spresense/scripts/Make.defs
@@ -49,7 +49,7 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y)
 endif
 
 ARCHCFLAGS = -fno-builtin -mabi=aapcs -ffunction-sections -fdata-sections
-ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti -std=c++98
+ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti -std=c++11
 ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
 ARCHWARNINGSXX = -Wall -Wshadow -Wundef
 ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10