lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev LYUtils and mktemp, and string2.h warnings (glibc 2.2)


From: Frédéric L . W . Meunier
Subject: lynx-dev LYUtils and mktemp, and string2.h warnings (glibc 2.2)
Date: Sat, 23 Dec 2000 00:08:34 -0200
User-agent: Mutt/1.3.12i

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.

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

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]