Skip to content

GCC fixes#20

Open
jlevon wants to merge 2 commits into
chrisa:masterfrom
TritonDataCenter:gcc-fixes
Open

GCC fixes#20
jlevon wants to merge 2 commits into
chrisa:masterfrom
TritonDataCenter:gcc-fixes

Conversation

@jlevon

@jlevon jlevon commented May 14, 2020

Copy link
Copy Markdown

No description provided.

John Levon added 2 commits May 14, 2020 15:08
Allow users to pass in CC and CFLAGS arguments.
GCC 9 correctly points out:

usdt_dof_file.c:187:16: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation]
  187 |         (void) strncpy(dh.dofhp_mod, module, sizeof (dh.dofhp_mod));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@jlevon

jlevon commented May 14, 2020

Copy link
Copy Markdown
Author

Fixes #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant