[bt-devel] MacOS Build Status

Eeli Kaikkonen eeli.kaikkonen at gmail.com
Fri Sep 5 09:25:01 MST 2008


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.

--Eeli Kaikkonen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/bt-devel/attachments/20080905/0c4c4b0f/attachment.html 


More information about the bt-devel mailing list