[Qt-interest] [1/2 OT] ImageMagick, OpenMP and QThread [Mac OS X]?

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Jan 28 15:04:36 CET 2010


Francisco Gonzalez wrote on Thursday, January 28, 2010 1:13 PM:

> ...
> Just to add that your example works on Kubuntu 9.10 with gcc 4.4.1.

I have yet to find out the gcc version on Mac OS 10.6.2 this evening. But according to http://gcc.gnu.org/ml/gcc/2009-12/msg00240.html ("I built a special GCC 4.4.2 from source with Xcode's default gcc 4.2.1. [...] I am on Snow Leopard. ...") it is a 4.2.1 (that is, older than my Kubuntu gcc 4.3.2, which works).

> If someone wants to check with other gcc version there is a typo
> mistake (not concerned with the problem explained) " #pragma omp
> parallel {"  
> should be
> " #pragma omp parallel
> {"

Good catch ;) Thas was me re-formatting the example code for email, as to save some lines - the ZIP attachement was okay though :)

I will post my example / Mac OS 10.6.2 experience at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42616 and hope this fix makes it sometimes into the XCode gcc. But I've heard Apple is currently busy selling their iPads ;)

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list