This is an archive of the discontinued LLVM Phabricator instance.

[hip] Remove `-Werror=format-nonliteral`
ClosedPublic

Authored by hliao on Jan 22 2020, 1:09 PM.

Details

Summary
  • It won't distinguish host and device code and trigger compilation failure on irrelevant code.

Diff Detail

Event Timeline

hliao created this revision.Jan 22 2020, 1:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 22 2020, 1:09 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
hliao added a comment.Jan 22 2020, 1:11 PM

Have to remove this as it causes compilation failures on irrelevant host code during device compilation. Maybe we need to introduce a new warning option to issue that warning on device code only.

ashi1 accepted this revision.Jan 22 2020, 1:13 PM
This revision is now accepted and ready to land.Jan 22 2020, 1:13 PM
This revision was automatically updated to reflect the committed changes.