!123 Ignore warnings for llvm15 upgrade

满足合入条件、但并发量过大;需要手动合入!
This commit is contained in:
openharmony_ci 2023-03-23 13:10:36 +00:00 committed by Gitee
commit a64ecf6af0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -535,6 +535,7 @@ ohos_shared_library("shared_icuuc") {
"-Wno-error=unneeded-internal-declaration", "-Wno-error=unneeded-internal-declaration",
"-std=c++11", "-std=c++11",
"-Wno-ignored-attributes", "-Wno-ignored-attributes",
"-Wno-unused-but-set-variable",
"-Wno-deprecated-declarations", "-Wno-deprecated-declarations",
] ]
ldflags = [ ldflags = [
@ -582,6 +583,7 @@ ohos_shared_library("shared_icui18n") {
"-Wwrite-strings", "-Wwrite-strings",
"-std=c++11", "-std=c++11",
"-Wno-ignored-attributes", "-Wno-ignored-attributes",
"-Wno-unused-but-set-variable",
"-Wno-deprecated-declarations", "-Wno-deprecated-declarations",
] ]
ldflags = [ ldflags = [
@ -635,6 +637,7 @@ ohos_static_library("static_icuuc") {
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-Wno-unused-function", "-Wno-unused-function",
"-Wno-ignored-attributes", "-Wno-ignored-attributes",
"-Wno-unused-but-set-variable",
"-Wno-deprecated-declarations", "-Wno-deprecated-declarations",
] ]
@ -687,6 +690,7 @@ ohos_static_library("static_icui18n") {
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-fno-exceptions", "-fno-exceptions",
"-Wno-ignored-attributes", "-Wno-ignored-attributes",
"-Wno-unused-but-set-variable",
"-Wno-deprecated-declarations", "-Wno-deprecated-declarations",
] ]