[cfe-commits] [patch] Avoid gcc warning when using the clang preprocessor
Rafael Espindola
espindola at google.com
Mon Sep 28 10:14:06 PDT 2009
I am trying to use clang to preprocess source code and pipe the output
to gcc. With a current clang and gcc 4.5 I am getting the warning
line-map.c: file "test.c" left but not entered
This is caused by clang exiting the main file "test.c":
# 1 "test.c" 2
The attached patch fixes the problem.
Cheers,
--
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: text/x-diff
Size: 1366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090928/889c48f9/attachment.patch>
More information about the cfe-commits
mailing list