bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: conflicting types for 'tee'


From: Andreas Schwab
Subject: error: conflicting types for 'tee'
Date: Thu, 22 Jun 2006 14:35:50 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

The next release of GNU libc will have a declaration of a function tee in
<fcntl.h> (only under _GNU_SOURCE, of course).  This will cause a conflict
with the use of this name in tee.c:

tee.c:34: error: conflicting types for 'tee'
/usr/include/bits/fcntl.h:226: error: previous declaration of 'tee' was here

Since coreutils always defines _GNU_SOURCE such types of conflicts can
happen any time.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]