[ros-dev] Kernel streaming header mess / GUIDs

James Tabor jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Fri Sep 28 20:41:11 CEST 2007


Ged wrote:
> IMO, the 3 solutions are to either
> 1. assign your GUID manually using the { ... { ... }} convention
> 2. change the ksmedia.h header to be more GCC friendly
> 3. add support for __decelspec(uuid()) and __uuidof to our code base. It
> might be worth checking Wine for this as I think it's been done by them
> before.
> 
> Hope that helps,
> Ged.

 From wine/include/winnt.h line 76:

#ifndef DECLSPEC_UUID
# if defined(_MSC_VER) && (_MSC_VER >= 1100) && defined (__cplusplus)
#  define DECLSPEC_UUID(x) __declspec(uuid(x))
# else
#  define DECLSPEC_UUID(x)
# endif
#endif


More information about the Ros-dev mailing list