Hi. With glibc 2.2 dev.15 reports the following after linking
the binary:

LYUtils.o: In function `LYOpenTemp':
LYUtils.o(.text+0x7b83): the use of `mktemp' is dangerous, better use `mkstemp'

BTW, I see that with glibc 2.2 you get a lot of warnings
building Lynx (I always use --enable-warnings) and some other
tools:

/usr/include/bits/string2.h: In function `__mempcpy_small' ->
warning: pointer of type `void *' used in arithmetic

/usr/include/bits/string2.h: In function `__strcpy_small' ->
warning: pointer of type `void *' used in arithmetic

I also don't know why the binary increased so much in size:

-rwxr-xr-x    1 root     bin       970368 Oct 26 01:35 lynx
(dev.13 with glibc 2.1.3)

-rwxr-xr-x    1 root     bin      1529476 Dec 22 20:18 lynx

Both were built with egcs 1.1.2, although glibc 2.2 was built
with gcc 2.95.2, as it's the minimum requirement. The warnings
appear with gcc 2.95.2 too. The only change was the addition of
--enable-color-style. make LDFLAGS=-s on both, no changes to
CFLAGS.

-- 
0@pervalidus.{net, {dyndns.}org} TelFax: 55-21-717-2399 (Niterói-RJ BR)

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to