Boost logo

Boost :

Subject: [boost] [clang] clang-cl expansion of macros
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-04-15 18:15:09


You can get clang-cl ( clang-win ) to show its VC++ emulated expansion
of macros somewhat by passing the c++ option
'-fmacro-backtrace-limit=0' to the compiler. It is still blessedly
difficult to see the what and the why of clang's error messages when
expanding macro using clang-cl, but at least it gives you a better
chance of understanding where clang's emulation of VC++ has gone wrong.

I have posted bug 27380 to the llvm/clang bug tracker at
https://llvm.org/bugs/show_bug.cgi?id=27380 showing the main failure in
VC++ emulation which I see when testing Boost PP with clang-cl.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk