D8831: gcclikecompiler: Fix execution of compiler qprocess under windows

Geetam Chawla noreply at phabricator.kde.org
Wed Nov 15 20:04:38 UTC 2017


geetamc created this revision.
geetamc added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  Rather than passing null device as input file to the compiler,
  "-" is passed as argument which makes the compiler take input from
  stdin, then qprocess' standard input file is set to QProcess:nullDevice()
  to make it read eof.
  
  Note that it fixes standard includes not being passed to language plugin if
  clang is set as default compiler under windows.

REPOSITORY
  R32 KDevelop

BRANCH
  gcclikecdontpassnullasinputfile (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D8831

AFFECTED FILES
  plugins/custom-definesandincludes/compilerprovider/gcclikecompiler.cpp

To: geetamc, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171115/185629f3/attachment-0001.html>


More information about the KDevelop-devel mailing list