packaging: add "std=gnu++14" to extraflags 94/295794/1 accepted/tizen_9.0_unified accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen tizen_9.0 accepted/tizen/9.0/unified/20241030.235303 accepted/tizen/unified/20240620.050742 accepted/tizen/unified/dev/20230726.115949 accepted/tizen/unified/dev/20240701.072741 accepted/tizen/unified/x/20241218.081851 accepted/tizen/unified/x/asan/20241224.003559 tizen_9.0_m2_release
authorDongkyun Son <dongkyun.s@samsung.com>
Fri, 14 Jul 2023 01:26:54 +0000 (10:26 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Fri, 14 Jul 2023 01:28:49 +0000 (10:28 +0900)
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>
packaging/emuld.spec

index fa6f7674b1938d4ba42d5ea9fdf465ac26d2c008..db2af7c6c263a76481535d26821fff2eae665e09 100644 (file)
@@ -59,7 +59,7 @@ chmod 644 %{SOURCE0}
 %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