strigi compile errors

Simon Hausmann hausmann at kde.org
Sat Mar 17 10:59:20 GMT 2007


On Saturday 17 March 2007 11:41:16 Christian Ehrlicher wrote:
> Thiago Macieira schrieb:
> > Thiago Macieira wrote:
> >> stdint.h is a C99 header. Do not include it in C++ applications, as
> >> you're not allowed to.
> >
> > I'm told on IRC that there's a check for availability of such a header.
> >
> > That alleviates the problem, so it can work as a solution. But mind you
> > that no compiler suite is required to allow you to include a C99 header
> >
> >>from a C++98 application. It can have keywords like "reserved" that will
> >
> > break in C++ (gcc is nice to you and uses __restrict instead).
>
> And how to fix this? By not using intXX_t - types?

Yep, if you want to write software portable to MSVC don't use them :)

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070317/bfc4ba84/attachment.sig>


More information about the kde-core-devel mailing list