linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: qt3 and ptrdiff_t build error
       [not found] ` <20130116063156.GA28910@pryan.ekaia.org>
@ 2013-01-16 12:26   ` Tiana Rakotovao Andriamahefa
  2013-01-24 10:36     ` Michal Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Tiana Rakotovao Andriamahefa @ 2013-01-16 12:26 UTC (permalink / raw)
  To: mmarek; +Cc: linux-kbuild, linux-kernel

Le mercredi 16 janvier 2013 à 07:31:56, Ana Guerrero a écrit :
> On Tue, Jan 15, 2013 at 11:12:51PM +0000, Tiana Rakotovao Andriamahefa wrote:
> > Hi all,
> > 
> > The build of an application using qt3 always fails into this
> > kind of error (with GCC-4.6) :
> > 
> > In file included from /usr/include/qt3/qmime.h:46:0,
> >                  from /usr/include/qt3/qevent.h:48,
> >                  from /usr/include/qt3/qobject.h:48,
> >                  from /usr/include/qt3/qwidget.h:46,
> >                  from /usr/include/qt3/qmainwindow.h:45,
> >                  from main.cc:9:
> > /usr/include/qt3/qmap.h:607:13: error: ‘ptrdiff_t’ does not name a type
> > make[1]: *** [scripts/kconfig/qconf.o] Erreur 1
> > make: *** [xconfig] Erreur 2
> > 
> > 
> > And including <stddef.h> resolves well this problem.
> > 
> > So, I would like to ask you if qt3 is still maintained so that it is
> > for example possible to add " include <stddef.h> " in some qt3 headers?
> > Or should stddef.h always be included by our program.
> 
> Hi Tiana,
> 
> Qt3 is not maintained anymore in Debian. Last stable version of Debian
> shipping Qt3 is Squeeze with GCC 4.4.
> IIRC the problem you reported was fixed in one of the uploads of Qt3 made
> after the release of Squeeze, if you grab the latest upload of Qt3 from
> http://snapshot.debian.org it is possible this problem is fixed there.

I have checked it and found that the error was effectively fixed in the last
maintained upload of Qt3 in 2011. However, the correction is not yet in Wheezy
(Debian testing) which I have used for more than a year. It might be
included there one day!
This is the case of Debian, but not all distros.

-- 
Tiana Rakotovao Andriamahefa

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: qt3 and ptrdiff_t build error
  2013-01-16 12:26   ` qt3 and ptrdiff_t build error Tiana Rakotovao Andriamahefa
@ 2013-01-24 10:36     ` Michal Marek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2013-01-24 10:36 UTC (permalink / raw)
  To: Tiana Rakotovao Andriamahefa; +Cc: linux-kbuild, linux-kernel

On 16.1.2013 13:26, Tiana Rakotovao Andriamahefa wrote:
> I have checked it and found that the error was effectively fixed in the last
> maintained upload of Qt3 in 2011. However, the correction is not yet in Wheezy
> (Debian testing) which I have used for more than a year. It might be
> included there one day!
> This is the case of Debian, but not all distros.

OK. And it is dead upstream. So I'll apply your patch. Could you please
resend it? I deleted the email already.

Thanks,
Michal

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-24 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130115231251.GA6100@rak.local>
     [not found] ` <20130116063156.GA28910@pryan.ekaia.org>
2013-01-16 12:26   ` qt3 and ptrdiff_t build error Tiana Rakotovao Andriamahefa
2013-01-24 10:36     ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).