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

2019-08-21 Thread Forumer 4umer via cfe-users
So a bit more explanation, the macros are used to generate data structure and methods and the following definition is used to declare a structure: DEF_STRUCT(namedDate, namedDate, (std::string, name), (std::time_t, date)) On visual when I look at preprocessed file I get this (focus on line

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

2019-08-20 Thread Forumer 4umer via cfe-users
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