Peter, et al.
That's great! No more errors now. Most of the warnings are about the
use of C++0x features or 'unused function' warnings, and so I've
disabled those two for now. That leaves only 21 warnings, which you can
see here:
<http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=769018>
Some of these gcc probably generates too, but some are nice catches by clang!
Cheers,
Sean
On Mon, 8 Nov 2010 17:45:20 +0000, Peter Vanroose said:
>Thanks, Isabel!
>
>That seems to have fixed the compile errors with the two Mac compilers
>on the vxl dashboard.
>
>-- Peter.
>
>--- Den mån 2010-11-01 skrev Isa and Dave <junoandjoe@...>:
>> Från: Isa and Dave <junoandjoe@...>
>> Ämne: Re: [Vxl-maintainers] problems with OpenCL datatype cl_int4
>> Datum: måndag 1 november 2010 16:12
>> I just realized I only fixed the errors in boxm.
>>
>> I am not very familiar with vpgl/icam, but what has been
>> done in boxm to overcome the cl_float4 compiling
>> problems is to use standard arrays cl_float[4].
>>
>> Isabel
>>
>> On Nov 1, 2010, at 10:38 AM, Isabel Restrepo wrote:
>>
>> > I have fixed the problem for Mac OS by converting the
>> variable mean_vis in the AuxData struct into a standard
>> array as opposed to using cl_uchar2. The same fix worked in
>> the past, let me know if there are problems with this change
>> in your platforms
>> >
>> > I will run a dashboard build to see if there are any errors left
>> >
>> > Isabel
>> >
>> > On Oct 30, 2010, at 8:25 AM, Joseph Mundy wrote:
>> >
>> >> What should be done?
>> >>
>> >> -----Original Message-----
>> >> From: Peter Vanroose [mailto:peter_vanroose@...]
>>
>> >> Sent: Saturday, October 30, 2010 8:20 AM
>> >> To: vxl maintainers
>> >> Cc: Sean McBride
>> >> Subject: [Vxl-maintainers] problems with OpenCL datatype cl_int4
>> >>
>> >> On the vxl dashboard, at least two builds have problems with
OpenCL types
>> >> cl_int4 and cl_float4, as used on lines 86 & 87 of
>> >>
>> contrib/gel/mrc/vpgl/icam/icam_ocl/icam_ocl_search_manager.h:
>> >> http://www.cdash.org/CDash/viewBuildError.php?buildid=763793
>> >> and
>> >> http://www.cdash.org/CDash/viewBuildError.php?buildid=763290
>> >> (Both are MAC bulds.)
>> >>
>> >> In my copy of CL/cl_platform.h, cl_int4 is typedefed as (a union
>containing)
>> >> struct { cl_int x, y, z, w; }
>> >> Maybe we should, at least for the failing compilers, use a typedef
>to this
>> >> struct instead of the cl_int4 declaration provided to those
>compilers on the
>> >> MAC?
>> >>
>> >> -- Peter.
>> >> --
>> >>
>> >>
>> >> --- Den tis 2010-10-26 skrev Sean McBride <sean@...>:
>> >>> Från: Sean McBride <sean@...>
>> >>> Ämne: Re: clang now compiles (was: Mac OS X dashboards & adding
>clang support)
>> >>> Datum: tisdag 26 oktober 2010 19:25
>> >>> Peter,
>> >>>
>> >>> I've noticed that the clang build has not been building for
>> >>> some time
>> >>> now, with more and more errors over time.
>> >>>
>> >>> I've just updated my build of clang, hoping some of them
>> >>> would go away,
>> >>> but there are still errors. There's also a new
>> >>> warning, that is
>> >>> repeated many times:
>> >>>
>> >>> "warning: in-class initializer for static data member of
>> >>> type 'const
>> >>> float' is a C++0x extension [-Wc++0x-extensions]"
>> >>>
>> >>> By default, clang assumes the C++03 standard, and so the
>> >>> warning is
>> >>> correct. Which version of C++ is VXL supposed to
>> >>> be? Should I:
>> >>> - tell clang to build as C++0x?
>> >>> - disable the warning?
>> >>> - leave the warning there so you guys can fix them?
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Sean
|