svn commit: samba r21338 - in branches/SAMBA_4_0: . source/pidl/lib/Parse/Pidl/Samba3 source/pidl/tests

Stefan (metze) Metzmacher metze at samba.org
Wed Feb 14 15:25:04 GMT 2007


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

jelmer at samba.org schrieb:

> @@ -99,7 +129,7 @@
>  	} elsif ($fn->{RETURN_TYPE} eq "WERROR") {
>  		pidl "return werror_to_ntstatus(r.out.result);";
>  	} else {
> -		pidl "/* Sorry, don't know how to convert $fn->{RETURN_TYPE} to NTSTATUS */";
> +		pidl "#warning Sorry, don't know how to convert $fn->{RETURN_TYPE} to NTSTATUS";
>  		pidl "return NT_STATUS_OK;";
Hi Jelmer,

#warning isn't supported by all compilers, and I think pidl should just
reject to compile the file...

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

iD8DBQFF0ynQm70gjA5TCD8RAto0AJ9CYbkfBsFqIlcefiUmQEQ7i/dGFACfdWUt
1qkXMo9fOoZpAqt9+1kUyrA=
=kp/J
-----END PGP SIGNATURE-----


More information about the samba-cvs mailing list