<html><body bgcolor="#FFFFFF"><div><br><br>Sent from my iPhone</div><div><br>On Sep 5, 2008, at 11:25, "Eeli Kaikkonen" <<a href="mailto:eeli.kaikkonen@gmail.com">eeli.kaikkonen@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div dir="ltr">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.<br><div class="gmail_quote"><br><br>Martin Gruner wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[ 0%] Building CXX object CMakeFiles/bibletime.dir/bibletime_automoc.o<br>
/opt/local/include/qt4-mac/QtCore/qglobal.h:747: error: ISO C++ does<br>
not support 'long long'<br>
<br>
</blockquote>
<br>
Hi Greg,<br>
<br>
as you can see this is an error in Qt's header files. Something is wrong there.<br>
<br>
mg<br>
<br>
<br>
</blockquote>
Or the compiler is too strict. What c++ compiler and version do you have? Does Mac compiler have different set of default compiler switches?<br>
<br>
The problem is one of these lines:<br>
<br>
#if defined(Q_OS_WIN) && !defined(Q_CC_GNU)<br>
# define Q_INT64_C(c) c ## i64 /* signed 64 bit constant */<br>
# define Q_UINT64_C(c) c ## ui64 /* unsigned 64 bit constant */<br>
typedef __int64 qint64; /* 64 bit signed */<br>
typedef unsigned __int64 quint64; /* 64 bit unsigned */<br>
#else<br>
# define Q_INT64_C(c) static_cast<long long>(c ## LL) /* signed 64 bit constant */<br>
# define Q_UINT64_C(c) static_cast<unsigned long long>(c ## ULL) /* unsigned 64 bit constant */<br>
typedef long long qint64; /* 64 bit signed */<br>
typedef unsigned long long quint64; /* 64 bit unsigned */<br>
#endif<br>
<br>
<br>
For me the g++ compiler switches "-ansi -pedantic" give the same error output with "typedef long long qint64;int main(){}" test program.<br><font color="#888888">
<br></font></div></div></div></blockquote><div><br></div><div>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?</div><div><br></div><div>Greg</div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><font color="#888888">
--Eeli Kaikkonen<br>
</font></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>bt-devel mailing list</span><br><span><a href="mailto:bt-devel@crosswire.org">bt-devel@crosswire.org</a></span><br><span><a href="http://www.crosswire.org/mailman/listinfo/bt-devel">http://www.crosswire.org/mailman/listinfo/bt-devel</a></span><br></div></blockquote></body></html>