[cfe-users] Porting preprocessor macros to be compatible with clang

Matthew Fernandez via cfe-users cfe-users at lists.llvm.org
Tue Aug 20 20:08:26 PDT 2019


> On Aug 20, 2019, at 07:27, Forumer 4umer via cfe-users <cfe-users at lists.llvm.org> wrote:
> 
> Hello,
> 
> I am sorry to ask for some help on this subject but I am not very comfortable with preprocessor and especially with the differences between compilers.
> We have some (ugly) macros used to generate some data structures and methods that works fine on Visual but I would like to use clang to get better errors messages
> and to compare the compilation time.
> So I have created a repository to reproduce the problem and if someone could give me some help...
> There is only one cpp file so a simple clang++ TestClang.cpp is enough to reproduce.
> The repository is here: https://github.com/vrichomme/FixMacroOnClang.git <https://github.com/vrichomme/FixMacroOnClang.git>

I think you’re going to have to give us more information about what the problem is that you’re seeing and what is the behaviour you expected.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20190820/9c15f475/attachment.html>


More information about the cfe-users mailing list