Ok, i will push a commit for this as soon as I get back home

D.

On 26 Oct 2012 17:59, "Hannes" <h2+lists2012@fsfe.org> wrote:
On 26.10.2012 18:39, Davide Anastasia wrote:
> Hi Hannes,
> I have been using GCC 4.6 for a few weeks now on Ubuntu 12.04 and I am not
> experiencing the same problem.

Hm, strange...

> However, I can see that this include is missing in tag.h. Did you try to
> compile with <cstdio> instead than <stdio.h>? As well, did you check out
> the latest commits?

libjpeg is now fixed, tag.h still does not build. Including either
stdio.h or cstdio fixes it.

Thanks!

Best,
Hannes


> On 26 Oct 2012 17:21, "Hannes" <h2+lists2012@fsfe.org> wrote:
>
>> On 26.10.2012 18:08, Davide Anastasia wrote:
>>> Hi Hannes,
>>> Can you refresh your bug report? I've been caught into many things to do
>>> and I am a bit short of memory too :-)
>>
>> Sure, no problem:
>>
>>> On 22 September 2012 13:33, Hannes <h2+lists2012@fsfe.org> wrote:
>>>> To make luminance build with gcc4.6 I had to
>>>>         #include <stdio.h>
>>>> in both
>>>>         src/Fileformat/jpegreader.h
>>>>         src/Libpfs/tag.h
>>>>
>>>> Could you upstream that?
>>>
>>> I don't think there is any include missing here, as those are headers
>>> file and both jpegreader.cpp and tag.cpp include stdio.h.
>>>
>>> What's the exact problem you are experiencing?
>>
>>
>> The problem is that FILE is not defined on newer GCC versions, if
>> stdio.h is not included. It won't build with GCC 4.6 if stdio is
>> included in the .cpp and not in the .h
>> I read about this somewhere on the net, also regarding jpeglib, and they
>> said it was an error in the lib, so I thought we should fix it this way,
>> too.
>>
>> Best,
>> Hannes
>>
>


------------------------------------------------------------------------------
The Windows 8 Center
In partnership with Sourceforge
Your idea - your app - 30 days. Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Qtpfsgui-devel mailing list
Qtpfsgui-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qtpfsgui-devel