Better HN
topnewbestaskshowjobs
Log inSign up

bames53

5 karma · joined Mar 28, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

You can undefine predefined macros in clang using -U. I took a little time to write some commands that should produce something close to the right defines/undefines to let one compiler's preprocessor masquerade as another compiler's preprocessor:

http://coliru.stacked-crooked.com/a/17122f90ec070d55