Skip to content

Commit

Permalink
Set sdbusplus to use c++17
Browse files Browse the repository at this point in the history
C++17 is available with the current compiler. Changing to this standard
will allow sdbusplus to use some more advanced language features that
can reduce code size and improve readability.

Change-Id: Ia9a1af615bd5b3bc0868677308a8dd269a4bf5db
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
  • Loading branch information
vmauery committed Oct 3, 2018
1 parent 1705224 commit ca46b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ AS_IF([test "x$enable_libsdbusplus" != "xno"],

# Checks for typedefs, structures, and compiler characteristics.
AS_IF([test "x$enable_libsdbusplus" != "xno"],
[AX_CXX_COMPILE_STDCXX_14([noext])])
[AX_CXX_COMPILE_STDCXX_17([noext])])
AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CFLAGS])
AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])

Expand Down

0 comments on commit ca46b9d

Please sign in to comment.