Skip to content

Commit

Permalink
[Huawei]fix compiler problem
Browse files Browse the repository at this point in the history
Offering:hpc
  • Loading branch information
JKLiang9714 committed Nov 30, 2021
1 parent 0f8d7db commit 92bb5a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/m4/compiler.m4
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,7 @@ ADD_COMPILER_FLAGS_IF_SUPPORTED([[-Wno-pointer-sign],
[-Werror-implicit-function-declaration],
[-Wno-format-zero-length],
[-Wnested-externs],
[-Wshadow],
[-Werror=declaration-after-statement]],
[-Wshadow]],
[AC_LANG_SOURCE([[int main(int argc, char **argv){return 0;}]])])


Expand Down

0 comments on commit 92bb5a9

Please sign in to comment.