JPEG detection problem

Nicolas Goutte nicolasg at snafu.de
Sat Jul 30 20:23:38 BST 2005


On Saturday 30 July 2005 21:08, Nicolas Goutte wrote:
> On Friday 29 July 2005 09:34, Stephan Kulow wrote:
> > 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.
(...)
> Nevertheless I will try to remove the definiton and see what happens.

I have seen that Dirk Mueller has fixed the test. It configures correctly for 
me now (only test for KDE 3.5). Thank you!

Have a nice day!

>
> > Greetings, Stephan
>
> Have a nice day!





More information about the kde-core-devel mailing list