[bt-devel] MacOS Build Status

Gregory Hellings greg.hellings at gmail.com
Fri Sep 5 13:24:35 MST 2008



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/bt-devel/attachments/20080905/363ad4b9/attachment.html 


More information about the bt-devel mailing list