s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard C-compatible
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 31 Jul 2010 18:57:18 +0000 (20:57 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 31 Jul 2010 18:57:18 +0000 (20:57 +0200)
It seems to be GCC specific since it doesn't compile on Solaris 10 cc:
http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc

source4/torture/rpc/winreg.c

index f9cfb4d96c5656c6edc68589233384d29c90bbbf..c47c15588c1ea8ae583d11a5edff5a2cd7bbcb4e 100644 (file)
@@ -2385,6 +2385,7 @@ static bool test_HKLM_wellknown(struct torture_context *tctx,
 {
        struct policy_handle newhandle;
        int i;
+       /* FIXME: This is GCC specific and breaks Solaris 10 "cc" */
        struct {
                const char *values[3];
                uint32_t num_values;