stdint.h vs inttypes.h

Romain Pokrzywka romain at kdab.com
Tue May 4 06:48:17 PDT 2010


Unfortunately that's not enough, as msvc provides neither stdint.h nor inttypes.h on WinCE.
But we managed to find a fix for that last case, by adding the typedefs to the wince-glue layer and reworking the 
inclusions a bit (and doing a bit of cleaning up at the same time).

Attached is the patch that includes your changes and adds the changes necessary for msvc/wince.

Cheers
Romain

On Monday 03 May 2010 20:38:45 Fridrich Strba wrote:
> What about the following patch that might do just right everywhere?
>
> On Mon, 2010-05-03 at 18:18 +0200, Marcus Brinkmann wrote:
> > On 05/03/2010 05:34 PM, Marcus Brinkmann wrote:
> > > On 04/29/2010 07:10 PM, Fridrich Strba wrote:
> > >>> stdint.h is a C99 header, which Microsoft hasn't really decided to
> > >>> support. How about inttypes.h?
> > >
> > > Sorry but this change broke Windows CE builds, where stdint.h works.
> >
> > Grr, for mingw builds.  For MSVC builds, we need a different solution. 
> > I'll submit a patch later.
> >
> > Marcus
> > _______________________________________________
> > dbus mailing list
> > dbus at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dbus



-- 
Romain Pokrzywka | romain at kdab.com | Certified Qt Software Engineer & Trainer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-u-intptr_t-usage-on-wince-with-msvc.patch
Type: text/x-patch
Size: 4757 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100504/13a2b3b1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100504/13a2b3b1/attachment.pgp>


More information about the dbus mailing list