X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com From: Eric Lilja Subject: Re: Message during linking Date: Thu, 19 Mar 2009 14:48:53 +0100 Lines: 30 Message-ID: References: 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: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/