Skip to content

[AIX] Fix Compiler Flags and Bugs on AIX to Pass All Tests#3219

Merged
terrelln merged 5 commits intofacebook:devfrom
qiongsiwu:fix_compiler_warning
Jul 29, 2022
Merged

[AIX] Fix Compiler Flags and Bugs on AIX to Pass All Tests#3219
terrelln merged 5 commits intofacebook:devfrom
qiongsiwu:fix_compiler_warning

Conversation

@qiongsiwu
Copy link
Contributor

This PR fixes:

  • Code that triggers compiler warnings (unused argument and function prototype warnings)
  • The -s compiler flag that is no longer supported by newer versions of clang. It is replaced by -Wl,-s.
  • malloc of size zero returns 0 on AIX, causing the dict-builder/no-inputs.sh test case to fail.

Copy link
Contributor

@terrelln terrelln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @qiongsiwu! Looks good to me!

@terrelln terrelln merged commit b1bbb0e into facebook:dev Jul 29, 2022
@Cyan4973 Cyan4973 mentioned this pull request Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants