On Jan 23, 2013, at 7:10 PM, Jeremy Huddleston Sequoia
wrote
> Well, I encourage you to submit these change upstream, so developers *can*
> rely on them =)
I'll check out the Qt tickets.
> No, you should fix it right (defaulting to $CXX). For comparison, this is
> what autoconf does:
>
>
On Jan 23, 2013, at 12:09 PM, Michael Dickens wrote:
> On Jan 23, 2013, at 12:06 PM, Jeremy Huddleston Sequoia
> wrote:
>> Yep, I think you hit the nail on the head. In short, you pretty much want
>> to do:
>>
>> CC = clang
>> CXX = clang++
>> OBJCC = ${CC}
>> OBJCXX = ${CXX}
>>
>> ${CC} ${
On Jan 23, 2013, at 12:06 PM, Jeremy Huddleston Sequoia
wrote:
> Yep, I think you hit the nail on the head. In short, you pretty much want to
> do:
>
> CC = clang
> CXX = clang++
> OBJCC = ${CC}
> OBJCXX = ${CXX}
>
> ${CC} ${CPPFLAGS} ${CFLAGS} -c my.c -o my.o
> ${CXX} ${CPPFLAGS} ${CXXFLAGS}
Yep, I think you hit the nail on the head. In short, you pretty much want to
do:
CC = clang
CXX = clang++
OBJCC = ${CC}
OBJCXX = ${CXX}
${CC} ${CPPFLAGS} ${CFLAGS} -c my.c -o my.o
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c my.cc -o my.o
${CXX} ${CPPFLAGS} ${CXXFLAGS} -c my.cpp -o my.o
${CXX} ${CPPFLAGS}
I'm working on adding a c++11 variant to qt4-mac, which requires that
all of the Qt libraries be compiled using "-std=c++11". Most of Qt
compiles without complaint, and the few files with issues are generally
easy to correct once the build errors out.
Qt4 uses a bunch of what would by current pra