strigi compile errors

Thiago Macieira thiago at kde.org
Sat Mar 17 10:31:30 GMT 2007


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).

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- 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/49dd16df/attachment.sig>


More information about the kde-core-devel mailing list