[bt-devel] MacOS Build Status

Gregory Hellings greg.hellings at gmail.com
Sat Sep 6 06:39:03 MST 2008


Martin,

On Sep 6, 2008, at 8:05, Martin Gruner <mg.pub at gmx.net> wrote:

> HI Greg,
>
> -pedantic-errors and -werror are set if you do not compile in  
> release mode
> (build_release.sh). I see that I need to change CMakeLists.txt to  
> change the
> default behaviour.

Perhaps having three build methods would help? Debug, release and  
devel? I'd prefer to be able to do the debug build for now, since this  
is still the testing phase. If you also set the default install prefix  
for each of those 3, then you could do away with the .sh scripts.

--Greg

>
>
> mg
>
> Am Freitag, 5. September 2008 22:24:35 schrieb Gregory Hellings:
>> Sent from my iPhone
>>
>> On Sep 5, 2008, at 11:25, "Eeli Kaikkonen" <eeli.kaikkonen at gmail.com>
>>
>> wrote:
>>> I configured my mailboxes with Thunderbird and this post probably
>>> wasn't sent. I subscribed to the list with my gmail account, I hope
>>> this comes through now.
>>>
>>>
>>> Martin Gruner wrote:
>>> [  0%] Building CXX object CMakeFiles/bibletime.dir/
>>> bibletime_automoc.o
>>> /opt/local/include/qt4-mac/QtCore/qglobal.h:747: error: ISO C++ does
>>> not support 'long long'
>>>
>>>
>>> Hi Greg,
>>>
>>> as you can see this is an error in Qt's header files. Something is
>>> wrong there.
>>>
>>> mg
>>>
>>>
>>> Or the compiler is too strict. What c++ compiler and version do you
>>> have? Does Mac compiler have different set of default compiler
>>> switches?
>>>
>>> The problem is one of these lines:
>>>
>>> #if defined(Q_OS_WIN) && !defined(Q_CC_GNU)
>>> #  define Q_INT64_C(c) c ## i64    /* signed 64 bit constant */
>>> #  define Q_UINT64_C(c) c ## ui64   /* unsigned 64 bit constant */
>>> typedef __int64 qint64;            /* 64 bit signed */
>>> typedef unsigned __int64 quint64;  /* 64 bit unsigned */
>>> #else
>>> #  define Q_INT64_C(c) static_cast<long long>(c ## LL)     /* signed
>>> 64 bit constant */
>>> #  define Q_UINT64_C(c) static_cast<unsigned long long>(c ## ULL) /*
>>> unsigned 64 bit constant */
>>> typedef long long qint64;           /* 64 bit signed */
>>> typedef unsigned long long quint64; /* 64 bit unsigned */
>>> #endif
>>>
>>>
>>> For me the g++ compiler switches "-ansi -pedantic" give the same
>>> error output with "typedef long long qint64;int main(){}" test
>>> program.
>>
>> The g++ version on the Mac has the same behavior. It's version 4.01
>> build 5480. However, the flag -pedantic-errors has the same result  
>> and
>> is enabled in the Makefile in my Bibletime build directory. Is that a
>> flag BT added or Cmake? Can it be filtered out?
>>
>> Greg
>>
>>> --Eeli Kaikkonen
>>>
>>> _______________________________________________
>>> bt-devel mailing list
>>> bt-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/bt-devel
>
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel



More information about the bt-devel mailing list