[cfe-dev] Newby questions
asl at math.spbu.ru
Sun Sep 9 12:56:04 PDT 2007
> So what's the general approach to this kind of pp magic? Is there some
> existing pp constant I could use?
I don't exactly know, how the things are going in clang. But I'd really
prefer not to use any platform-dependent defines in the "common"
sources. Maybe some indirection via configuration defines (like
"CLANG_ON_WINDOWS" - same as "LLVM_ON_UNIX" / "LLVM_ON_WINDOWS" and
libSystem / libSupport) should be introduced.
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
More information about the cfe-dev