From owner-freebsd-current Mon Jun 10 7:52:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from daemonz.org (TK212017094177.teleweb.at [212.17.94.177]) by hub.freebsd.org (Postfix) with SMTP id 51D8A37B405 for ; Mon, 10 Jun 2002 07:52:14 -0700 (PDT) Received: (qmail 53662 invoked by uid 1001); 10 Jun 2002 14:58:13 -0000 Date: Mon, 10 Jun 2002 16:58:13 +0200 From: Stanislav Grozev To: Terry Lambert Cc: freebsd-current@freebsd.org Subject: Re: My postgresql7 not working for new gcc Message-ID: <20020610145813.GA50547@meerkat.dungeon> References: <20020601195008.GJ17045@elvis.mu.org> <20020605113540.62177.qmail@web11402.mail.yahoo.com> <20020610115150.GA91765@meerkat.dungeon> <3D04B166.950171E2@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D04B166.950171E2@mindspring.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jun 10, 2002 at 07:02:14AM -0700, Terry Lambert wrote: > Stanislav Grozev wrote: > That's ugly. well, i _did_ mention that it's a messy and a temporary solution, but at least it gets postgresql (and many others) to compile and run fine. > > Since it's jamming in includes anyway: > > By using both `-nostdinc' and `-I-', you can limit > the include-file search file to only those directo- > ries you specify explicitly. > > e.g.: you should be able to get it to work with warnings fully > enabled, and explicit use of system include paths in the Makefile. > > This might be a more permanent fix... I agree... but still I don't see the point in that warning, which is useless (IMHO) in 99% of the cases (normal development) and in the 1% where it is usefull (gcc devel, libc, etc.) the people doing it already know their stuff and know what they're doing. but I digress... > > -- Terry > -tacho -- [a lie is my shield] | [http://daemonz.org/ || tacho@daemonz.org] 0x44fc3339 || [02b5 798b 4bd1 97fb f8db 72e4 dca4 be03 44fc 3339] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message