Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !3793

i#3792: Remove alias attribute and replace by real function body.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hendrik Greving requested to merge i3792-replace-alias-attribute-with-define into master Aug 20, 2019
  • Overview 25
  • Commits 7
  • Pipelines 0
  • Changes 2

GCC >= 8.2 does not accept a different function declaration used for the alias macro without a warning. Instead of subduing the warning and relying on aliasing it, we now inline the function body directly with a macro.

Disables the warning errors -Wstringop-truncation, -Wformat-truncation, and -Wno-stringop-overflow. All 3 warnings are related to '\0' string termination. DynamoRIO manages string termination and error handling itself in many places. Various re-factoring would be required in order to turn on the warnings.

Fixes #3792 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3792-replace-alias-attribute-with-define