This is an archive of the discontinued LLVM Phabricator instance.

Use pure C for "try_compile"
AbandonedPublic

Authored by paperchalice on Feb 11 2020, 9:03 PM.

Details

Reviewers
None
Summary

The code in "simple.cc" use "stdio.h" and "stdlib.h", which are deprecated in future C++. File with suffix ".cc" may be recognized as a C++ source, may causes error.

Diff Detail

Event Timeline

paperchalice created this revision.Feb 11 2020, 9:03 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 11 2020, 9:03 PM
Herald added subscribers: llvm-commits, Restricted Project, mgorny. · View Herald Transcript
paperchalice abandoned this revision.Apr 4 2021, 1:17 AM