Solved! I just wrote a Perl script to rewrite the error lines <https://github.com/kirbyfan64/reclang> . -- View this message in context: http://clang-developers.42468.n3.nabble.com/Line-directives-in-Clang-vs-GCC-tp4046494p4046503.html Sent from the Clang Developers mailing list archive at Nabble.com.