From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74755 invoked by alias); 22 Nov 2016 15:30:18 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 74605 invoked by uid 89); 22 Nov 2016 15:30:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=management X-HELO: mx2.suse.de From: Andreas Schwab To: Florian Weimer Cc: Zack Weinberg , libc-alpha@sourceware.org, Siddhesh Poyarekar Subject: Re: Evolution of ELF symbol management References: <9727f95a-df3d-ec11-8c1d-9b7ea6cbcaac@redhat.com> <0c682496-5c13-b3c5-ff66-0f8923a1d6e3@panix.com> <94e35eaa-a01d-db4e-eabe-6d100e581302@redhat.com> <137dfcf1-eeeb-89c6-9882-b290983bc482@redhat.com> X-Yow: I once decorated my apartment entirely in ten foot salad forks!! Date: Tue, 22 Nov 2016 15:30:00 -0000 In-Reply-To: <137dfcf1-eeeb-89c6-9882-b290983bc482@redhat.com> (Florian Weimer's message of "Tue, 22 Nov 2016 16:09:50 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2016-11/txt/msg00787.txt.bz2 On Nov 22 2016, Florian Weimer wrote: > There also configure scripts which do > > extern char whatever(); > main () { whatever(); } > > for link testing, without including the appropriate header (perhaps > deliberately). That could be considered broken. I'm not sure. While getting the return type wrong makes it slightly broken, the C standard does support declaring standard functions on your own, as long as you don't need special types. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."