svn commit: samba r18030 - in branches/SAMBA_3_0/source/tdb/common: .

Stefan (metze) Metzmacher metze at samba.org
Mon Sep 4 10:20:36 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

vlendec at samba.org schrieb:
> Author: vlendec
> Date: 2006-09-04 10:12:04 +0000 (Mon, 04 Sep 2006)
> New Revision: 18030
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18030
> 
> Log:
> When compiling with C++, nested structs lead to nested class definitions which
> are not compatible. I am aware that this would be a huge change in Samba4, but
> I would like to see it in the code that is shared.
Hi Volker,

Does this also apply to unnamed substructures?

like this:

struct foo {
	int bla;
	struct {
		int val1;
		int val1;
	} vals;
};

and what's with unions with unnamed substructs?

like this:

union foo {
	struct {
		struct {
			int val1;
		} in;
		struct {
			int val2;
		} out;
	} level1;
};

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFE+/30m70gjA5TCD8RAjXzAJ9m/wOTXDvDp726ScPn2fKNaP0Q/wCeNBNh
1iuMAbLtGaq9Y7AdNb2k9RE=
=V1I+
-----END PGP SIGNATURE-----


More information about the samba-cvs mailing list