delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Subject: | RE: Avail for test: libtool-devel-1.9f_20041024-1, libltdl6-1.9f_20041024-1 |
MIME-Version: | 1.0 |
Date: | Mon, 1 Nov 2004 14:59:03 +0100 |
Message-ID: | <90459864DAD67D43BDD3D517DEFC2F7D029F3E@axon.Axentia.local> |
X-MS-Has-Attach: | yes |
X-MS-TNEF-Correlator: | |
From: | "Peter Ekberg" <peda AT axentia DOT se> |
To: | <cygwin AT cygwin DOT com> |
Note-from-DJ: | This may be spam |
------_=_NextPart_001_01C4C01A.F282673F Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Chuck wrote: > New alpha versions of libtool available for test. This is > very close to what libtool-2.0 will be. Please evaluate. Ok, I found another problem. You cannot add the flag -Werror-implicit-function-declaration to CFLAGS as that kills the build of the wrapper executable. While there, clean up some other warnings as well, so that -Werror also has a chance to work... Here's the make output without the patch: /bin/sh ../libtool --mode=3Dlink --tag=3DCC gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -o demo.exe demo.o ../gii/libgii.la gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -o .libs/demo.exe demo.o ../gii/.libs/libgii.dll.a /home/peda/ggi2-cygwin/libgii/gg/.libs/libgg.dll.a -lpthread libtool: link: creating demo.exe .libs/lt-demo.c:68:1: warning: "DEBUG" redefined <command line>:11:1: warning: this is the location of the previous definition .libs/lt-demo.c: In function `main': .libs/lt-demo.c:110: warning: control reaches end of non-void function .libs/lt-demo.c: In function `xstrdup': .libs/lt-demo.c:125: error: implicit declaration of function `strcpy' .libs/lt-demo.c:125: error: implicit declaration of function `strlen' .libs/lt-demo.c: In function `find_executable': .libs/lt-demo.c:241: error: implicit declaration of function `memcpy' .libs/lt-demo.c:179: warning: unused variable `st' .libs/lt-demo.c: In function `strendzap': .libs/lt-demo.c:288: error: implicit declaration of function `strcmp' Everything below the "libtool: link: creating demo.exe" line disappears with the patch. Cheers, Peter ------_=_NextPart_001_01C4C01A.F282673F Content-Type: application/octet-stream; name="win32-wrapper-cleanup.patch" Content-Transfer-Encoding: base64 Content-Description: win32-wrapper-cleanup.patch Content-Disposition: attachment; filename="win32-wrapper-cleanup.patch" LS0tIGxpYnRvb2wtMS45Zi9jb25maWcvbHRtYWluLm00c2gub3JpZwkyMDA0 LTEwLTIyIDE5OjE5OjMzLjAwMDAwMDAwMCArMDIwMAorKysgbGlidG9vbC0x LjlmL2NvbmZpZy9sdG1haW4ubTRzaAkyMDA0LTExLTAxIDEzOjI5OjQ3LjI2 MTAxNzYwMCArMDEwMApAQCAtNTY0OSwxMCArNTY0OSwxMSBAQAogI2luY2x1 ZGUgPHN0ZGxpYi5oPgogI2luY2x1ZGUgPHVuaXN0ZC5oPgogI2luY2x1ZGUg PG1hbGxvYy5oPgogI2luY2x1ZGUgPHN0ZGFyZy5oPgogI2luY2x1ZGUgPGFz c2VydC5oPgorI2luY2x1ZGUgPHN0cmluZy5oPgogI2luY2x1ZGUgPHN5cy9z dGF0Lmg+CiAKICNpZiBkZWZpbmVkKFBBVEhfTUFYKQogIyBkZWZpbmUgTFRf UEF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E1BWCArIDFdXTsKICAgaW50IHRtcF9sZW47CiAgIGNoYXIqIGNv bmNhdF9uYW1lOwogCg== ------_=_NextPart_001_01C4C01A.F282673F Content-Type: text/plain; charset=us-ascii -- 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/ ------_=_NextPart_001_01C4C01A.F282673F--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |