On Fri, Jul 17, 2015 at 8:26 PM, Ned Deily <nad@acm.org> wrote:
Meador's right.  Don't use the old gcc-4.2 with the current SDK / Command Line Tools.  Let CC default to "cc" or set it to "clang"; presumably something is setting the CC environment variable to /opt/twitter/bin/gcc-4.2.

Thank you for your help. The old gcc escaped my attention. 3.x compiling fine with old gcc didn't make me suspect that. But it was indeed the case.
I set the CC envvar to the gcc provided by Apple and it was alright.

Thank you,
Senthil