Fix error: ISO C++17 does not allow 'register' storage class specifier
[-Werror=register]
Change-Id: I910a262cc51a2d82f845040a86976855cabb4d5b
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
%define gccversion %(gcc -dumpversion | cut -f1 -d.)
%if %{gccversion} >= 9
- %define extraflags "-Wno-error=stringop-overflow -Wno-error=sizeof-pointer-memaccess -Wno-error=array-bounds -Wno-error=stringop-truncation"
+ %define extraflags "-Wno-error=stringop-overflow -Wno-error=sizeof-pointer-memaccess -Wno-error=array-bounds -Wno-error=stringop-truncation -std=gnu++14"
%else
%define extraflags "-Wno-error=sizeof-pointer-memaccess -Wno-error=array-bounds"
%endif