On 2014-06-08 10:33, Dicebot wrote:

AFAIR `gcc- E` output is not a valid C on its own, no wonder libclang
chokes on it. Using llvm/clang toolchain with dstep results in much more
pleasant experience (not surprisingly as dstep is implemented on top of it)

Hmm, it adds a bunch of lines looking like this:

# 1 "foo.c"

Except for those it seems valid. If I recall correctly, there's a way to tell Clang that it's a preprocessed file, probably with the -x flag.

--
/Jacob Carlborg

Reply via email to