<div dir="ltr"><div><div>When I try to compile parhello-libev.c with clang -Weverything, it prints a spurious warning about recursive macros.<br><br></div>Source:<br><a href="https://github.com/mcandre/parhello/tree/master/c/parhello-libev">https://github.com/mcandre/parhello/tree/master/c/parhello-libev</a><br>
<br>Trace:<br><br>$ make<br>clang -O2 -Wall -Wextra -Wmost -Weverything -o parhello parhello.c -lev<br>parhello.c:17:16: warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion]<br>    putc(data, stdout);<br>
               ^<br>/usr/include/stdio.h:173:16: note: expanded from macro 'stdout'<br>#define stdout stdout<br>               ^<br>/usr/include/stdio.h:585:39: note: expanded from macro 'putc'<br>#define putc(_ch, _fp) _IO_putc (_ch, _fp)<br>
<br></div>System:<br><br>$ specs clang os<br>Specs:<br><br>specs 0.8<br><a href="https://github.com/mcandre/specs#readme">https://github.com/mcandre/specs#readme</a><br><br>clang --version<br>Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)<br>
Target: x86_64-pc-linux-gnu<br>Thread model: posix<br><br>lsb_release -a<br>No LSB modules are available.<br>Distributor ID:    Ubuntu<br>Description:    Ubuntu 14.04.1 LTS<br>Release:    14.04<br>Codename:    trusty<br clear="all">
<div><div><div><br></div><div>This oddity was noted some time ago (<a href="http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130128/073127.html">http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130128/073127.html</a>). Any update on this behavior?<br>
</div><div><br>-- <br><div></div>Cheers,<div><br></div><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a></div>
</div></div></div></div>