Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 20 Apr 2012 12:04:07 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: OpenCL Compile On MacOS Failing

On 04/13/2012 03:17 PM, Erik Winkler wrote:
> I was testing out the bleeding edge jumbo code for OpenCL on macosx (magnumripper-magnum-jumbo-95dac54) and I am getting the following compile error for common-opencl.c
> 
> gcc-4.2  -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include      -m64 -I/usr/local/cuda/include -DBSD -DCL_VERSION_1_0 -funroll-loops common-opencl.c
> common-opencl.c: In function ‘listOpenCLdevices’:
> common-opencl.c:300: error: two or more data types in declaration specifiers
> common-opencl.c:300: warning: useless type name in empty declaration
> common-opencl.c:318: error: expected expression before ‘_Bool’
> common-opencl.c:318: error: too few arguments to function ‘clGetDeviceInfo’
> common-opencl.c:319: error: expected expression before ‘_Bool’
> common-opencl.c:325: error: expected expression before ‘_Bool’
> common-opencl.c:325: error: too few arguments to function ‘clGetDeviceInfo’
> common-opencl.c:326: error: expected expression before ‘_Bool’
> 
> 
> Not sure of the cause, but I get the same error even with different versions of Xcode (currently running Xcode 4.3.2 on MacOS 10.7.3) and using the gcc-4.6.1 compiler.
> 
> Any ideas to the cause?

I think this was fixed by bizonix in commit a15803b

magnum


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.