X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Lilja <mindcooler@gmail.com>
Subject:  Re: Message during linking
Date:  Thu, 19 Mar 2009 14:48:53 +0100
Lines: 30
Message-ID: <gptig6$bt1$1@ger.gmane.org>
References:  <gpthdl$7o4$1@ger.gmane.org> <OF3658CECB.4A036109-ONC125757E.004AF4D1-C125757E.004B1B64@onevision.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
In-Reply-To: <OF3658CECB.4A036109-ONC125757E.004AF4D1-C125757E.004B1B64@onevision.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Kai Tietz wrote:
> Hello Eric,

Hello Kai and thanks for your swift reply!

> 
>> Here's the very simple Makefile that was used:
>> CXX = g++
>> CXXFLAGS = -Wall -Wextra -std=c++98 -pedantic -Werror -c
>> LDFLAGS = -s -o $(EXEC)
> 
> Add to your LDFLAGS --enable-auto-import

--enable-auto-import did nothing, however, -enable-auto-import did 
silence the warning during linking (notice only one leading dash).

> 
> That should remove those warnings for you.

Ok, so I need to alter all my Makefiles for c++ programs and this will 
remain this way (i.e., this option will always have to specified for the 
linking phase from now on)?

> 
> Cheers,
> Kai
> 
> 

- EL


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

