The branch, master has been updated via 69fff2d750fff7742c437d89831804afd674d9d1 (commit) from 73c603562fe22727d9fc313446e1d899038097f5 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 69fff2d750fff7742c437d89831804afd674d9d1 Author: Jelmer Vernooij <jel...@samba.org> Date: Mon Feb 9 23:29:41 2009 +0100 Revert "Fix errornos assumption that all compilers are gcc" This breaks (some?) files with gcc. This reverts commit 98a4327b19e83ffad4e0be7e8895fdbd9e48d49f. ----------------------------------------------------------------------- Summary of changes: pidl/idl.yp | 2 +- pidl/lib/Parse/Pidl/IDL.pm | 2 +- source4/build/pasn1/asn1.yp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/pidl/idl.yp b/pidl/idl.yp index 7838420..d557590 100644 --- a/pidl/idl.yp +++ b/pidl/idl.yp @@ -490,7 +490,7 @@ sub parse_file($$) $cpp = "cpp"; } my $includes = join('',map { " -I$_" } @$incdirs); - my $data = `$cpp -D__PIDL__$includes $filename`; + my $data = `$cpp -D__PIDL__$includes -xc $filename`; $/ = $saved_delim; return parse_string($data, $filename); diff --git a/pidl/lib/Parse/Pidl/IDL.pm b/pidl/lib/Parse/Pidl/IDL.pm index b2b5e3d..06d54fb 100644 --- a/pidl/lib/Parse/Pidl/IDL.pm +++ b/pidl/lib/Parse/Pidl/IDL.pm @@ -2525,7 +2525,7 @@ sub parse_file($$) $cpp = "cpp"; } my $includes = join('',map { " -I$_" } @$incdirs); - my $data = `$cpp -D__PIDL__$includes $filename`; + my $data = `$cpp -D__PIDL__$includes -xc $filename`; $/ = $saved_delim; return parse_string($data, $filename); diff --git a/source4/build/pasn1/asn1.yp b/source4/build/pasn1/asn1.yp index 24aef05..7fc834f 100644 --- a/source4/build/pasn1/asn1.yp +++ b/source4/build/pasn1/asn1.yp @@ -296,7 +296,7 @@ sub parse_asn1($$) if (! defined $cpp) { $cpp = "cpp" } - my $data = `$cpp $filename`; + my $data = `$cpp -xc $filename`; $/ = $saved_delim; $self->YYData->{INPUT} = $data; -- Samba Shared Repository