Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings in trace with Intel 18 compilers #647

Closed
lifflander opened this issue Dec 30, 2019 · 2 comments
Closed

Warnings in trace with Intel 18 compilers #647

lifflander opened this issue Dec 30, 2019 · 2 comments
Assignees

Comments

@lifflander
Copy link
Collaborator

Describe the bug

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(801): warning #181: argument of type "vt::trace::TraceEntrySeqType={uint32_t={unsigned int}}" is incompatible with format "%lu", expecting argument of type "unsigned long"
          event_seq_id,
          ^

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(805): warning #181: argument of type "vt::trace::TraceMsgLenType={size_t={unsigned long}}" is incompatible with format "%d", expecting argument of type "int"
          log->msg_len,
          ^

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(818): warning #181: argument of type "vt::trace::TraceEntrySeqType={uint32_t={unsigned int}}" is incompatible with format "%lu", expecting argument of type "unsigned long"
          event_seq_id,
          ^

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(822): warning #181: argument of type "vt::trace::TraceMsgLenType={size_t={unsigned long}}" is incompatible with format "%d", expecting argument of type "int"
          log->msg_len,
          ^

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(853): warning #181: argument of type "vt::trace::TraceEntrySeqType={uint32_t={unsigned int}}" is incompatible with format "%lu", expecting argument of type "unsigned long"
          event_seq_id,
          ^

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(857): warning #181: argument of type "vt::trace::TraceMsgLenType={size_t={unsigned long}}" is incompatible with format "%d", expecting argument of type "int"
          log->msg_len,
          ^

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(868): warning #181: argument of type "vt::trace::TraceEntrySeqType={uint32_t={unsigned int}}" is incompatible with format "%lu", expecting argument of type "unsigned long"
          event_seq_id,
          ^

/lscratch1/jliffla/vt-clean/vt-auto-build/vt-release-new-1b/vt/vt/src/vt/trace/trace.cc(872): warning #181: argument of type "vt::trace::TraceMsgLenType={size_t={unsigned long}}" is incompatible with format "%d", expecting argument of type "int"
          log->msg_len
          ^

@pnstickne
Copy link
Contributor

Sweet, this was the type widening issue previously mentioned.. I'll take.

pnstickne added a commit that referenced this issue Mar 27, 2020
- Ensure types are fully compatible with the format specifier.
  Some compilers check and generate warnings.
pnstickne added a commit that referenced this issue Mar 27, 2020
- Ensure types are fully compatible with the format specifier.
  Some compilers check and generate warnings.
lifflander pushed a commit that referenced this issue Apr 8, 2020
- Ensure types are fully compatible with the format specifier.
  Some compilers check and generate warnings.
lifflander pushed a commit that referenced this issue Apr 8, 2020
- Ensure types are fully compatible with the format specifier.
  Some compilers check and generate warnings.
lifflander added a commit that referenced this issue Apr 8, 2020
@pnstickne
Copy link
Contributor

Closed with #747 merge.

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

No branches or pull requests

2 participants