- **status**: review --> fixed
- **Comment**:
changeset: 6677:8f8719202335
tag: tip
user: Anders Widell <[email protected]>
date: Thu Jul 16 16:54:36 2015 +0200
summary: build: Use the C11 standard for C and the C++11 standard for C++
[#1374]
[staging:8f8719]
---
** [tickets:#1374] build: Use C11 standard for C and C++11 for C++**
**Status:** fixed
**Milestone:** 4.7-Tentative
**Created:** Wed May 20, 2015 03:07 PM UTC by Anders Widell
**Last Updated:** Thu May 21, 2015 11:31 AM UTC
**Owner:** Anders Widell
This ticket is for using a more modern standard for the C and C++ languages.
Currently we use C89 for C and C++98 for C++, which are 26 and 17 years old,
respectively. The C11 and C++11 standards are four years old already and should
be readily available in modern versions of the compilers. For GCC, this means
that should update the recommended minimum version to 4.8.1, which is the first
version where all major features of C++11 were fully implemented (though most
C++11 features were implemented already in earlier versions).
Note that GCC 5.1.0 already uses the C11 standard as default for the C
language. There is a proposal to make the C++11 standard default in the
upcoming GCC version 6.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets