(no subject)

Jelmer Vernooij jelmer at vernstok.nl
Wed Jan 3 19:57:25 GMT 2007


On Wed, 2007-01-03 at 18:28 +0100, Stefan (metze) Metzmacher wrote:
> Bjoern Jacke schrieb:
> > On Wed, Jan 03, 2007 at 05:03:05PM +0100, Volker Lendecke wrote:
> >> All files under gen_ndr/ are auto-generated. It's a bit
> >> pointless to patch them manually, this is something that
> >> must be fixed either in the IDL or in PIDL.
> > 
> > actually I don't know what crap I tested a few minutes ago, I now got
> > that messages again and they seem more clear now:
> > 
> > #define STYPE_HIDDEN    ( 0x80000000 )
> > ...
> >         STYPE_PRINTQ_HIDDEN=STYPE_PRINTQ_DEF | STYPE_HIDDEN,
> > ...
> that's what the --uint-enums option for pidl is for.
> (I think we talked about this problem a few month ago,
>  when you were noticing this warnings on Tru64 for samba4:-)
A bit related: can we perhaps abandon the uint-enums option, but instead
generate code like this instead:

#ifndef HAVE_UINT_ENUMS
#define STYPE_HIDDEN    ( 0x80000000 )
...
#else
#define STYPE_HIDDEN	-1
#endif

that saves us from mangling with the arguments for pidl. 

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070103/0c4d86d1/attachment.bin


More information about the samba-technical mailing list