JPEG detection problem

Stephan Kulow coolo at kde.org
Fri Jul 29 08:34:36 BST 2005


Am Freitag 29 Juli 2005 03:43 schrieb Thiago Macieira:
> Nicolas Goutte wrote:
> >> At first glance, gcc seems to dislike the mix of definition of size_t
> >> :
> >>
> >> conftest.cpp:50 error: conflicting types for 'typedef int size_t'
> 
> size_t is always unsigned, so the patch is correct in that aspect.
> 
> Now, why is it being typedefed? Shouldn't stddef.h or stdlib.h be included 
> instead? In fact, it must already be included because you are getting a 
> definition conflict.
Right. This test is simply too old, we should check if the system is able to
compile jpeg without having to typedef size_t. So rip it off or replace it with
an #include
Nicolas, please test that.

Greetings, Stephan




More information about the kde-core-devel mailing list