Re: [Dbus-cxx-users] compile problem
Status: Beta
Brought to you by:
rvinyard
|
From: Daren S. W. <da...@da...> - 2010-06-25 06:40:33
|
--
Daren Scot Wilson
Orlando FL^H^H^H^H^H^H^H^H^H^H Socorro NM
On 06/24/10 08:50, Rick L. Vinyard, Jr. wrote:
>
> Hmmm... not sure on this one. It looks like it's not pulling in the header
> that has uint8_t. That should be in stdint.h which came in with C99.
>
> You might check dbus-cxx-config.h and see if the stdint.h line is included.
>
>
/* Define to 1 if you have the <stdint.h> header file. */
#ifndef DBUS_CXX_HAVE_STDINT_H
#define DBUS_CXX_HAVE_STDINT_H 1
I don't see anything anywhere to define this symbol in any way. But,
more interesting, I don't see any use of this preprocessor variable -
expecting to see an "#if" in a .h or .cpp file.
> You might also try adding one of the following to types.h:
>
> #include<cstdint>
>
> or
>
> #include<stdint.h>
>
> If that works I'll add it to the next release.
>
Adding #include <stdint.h> to types.h solved the problem. I just stuck
it in plain before all other #includes, though I suppose in real life it
ought be be wrapped in an #if/#endif. I'll leave that to you!
Still it didn't compile but at least it goes much further and presents a
fresh error:
../dbus-cxx/signal_base.h:107:38: error: field 'm_connection' has
incomplete type
>
>
|