PATCH Supress 'subcontext' warning in PIDL for Samba4 build
Jelmer Vernooij
jelmer at samba.org
Wed Jul 16 13:22:37 GMT 2008
Hi,
Am Mittwoch, den 16.07.2008, 12:24 +0200 schrieb Ramón García:
> The attached patch removes the warning of using 'subcontext' when
> compiling IDL files.
>
> This works as follows:
>
> - We add the option --warn to PIDL for enabling/disabling warnings.
> This option is intended to be used as
> --warn=warn1,warn2,no-warn3, to enable or disable warnings. The only
> option at present is --warn=no-subcontext
> to disable the warning about using subcontext.
>
> I preferred a general solution that would make it easy to add more
> warning options in the future.
>
> - We add the option --warn=no-subcontext to the PIDL command line in
> build-idl.sh
Thanks for this patch. Any chance you could make the syntax more similar
to that of GCC? E.g. allow -Wno-subcontext ?
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
More information about the samba-technical
mailing list