[pdftex] compiling 1.30.6 on openbsd-current

holop ferenc fred at pentacom.sk
Mon Mar 6 21:50:52 CET 2006


hi there,

here are some of the warnings i got when compiling pdftex-1.30.6.
these are only warnings, and i am writing only to let you know about
them....



pdftexini.c: In function `loadfmtfile':
pdftexini.c:3667: warning: comparison is always false due to limited range of data type


pdftexdir/libpdf.a(utils.o)(.text+0x55f): In function `pdf_printf':
../../../../src/texk/web2c/pdftexdir/utils.c:157: warning: vsprintf() is often misused, please use vsnprintf()
pdftexini.o(.text+0x127d): In function `getstringsstarted':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/pdftexini.c:611: warning: strcpy() is almost always misused, please use strlcpy()
pdftexextra.o(.text+0x1ca2): In function `calledit':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/pdftexextra.c:1418: warning: sprintf() is often misused, please use snprintf()
pdftexextra.o(.text+0x4eb): In function `ipc_make_name':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/pdftexextra.c:442: warning: strcat() is almost always misused, please use strlcat()


pdfetexini.c: In function `loadfmtfile':
pdfetexini.c:4228: warning: comparison is always false due to limited range of data type


pdftexdir/libpdf.a(utils.o)(.text+0x55f): In function `pdf_printf':
../../../../src/texk/web2c/pdftexdir/utils.c:157: warning: vsprintf() is often misused, please use vsnprintf()
pdfetexini.o(.text+0x134d): In function `getstringsstarted':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/pdfetexini.c:634: warning: strcpy() is almost always misused, please use strlcpy()
pdfetexextra.o(.text+0x1cce): In function `calledit':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/pdfetexextra.c:1418: warning: sprintf() is often misused, please use snprintf()
pdfetexextra.o(.text+0x517): In function `ipc_make_name':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/pdfetexextra.c:442: warning: strcat() is almost always misused, please use strlcat()


../../libs/xpdf/xpdf/libxpdf.a(CMap.o)(.text+0x5f3): In function `CMap::parse(CMapCache*, GString*, GString*)':
../../../../src/libs/xpdf/xpdf/CMap.cc:149: warning: strcpy() is almost always misused, please use strlcpy()
pdftexdir/pdftosrc.o(.text+0x35b): In function `main':
../../../../src/libs/xpdf/goo/GString.h:53: warning: sprintf() is often misused, please use snprintf()


ttf2afm.o(.text+0x2c3f): In function `print_encoding':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/ttf2afm.c:824: warning: strcpy() is almost always misused, please use strlcpy()
ttf2afm.o(.text+0x1cc5): In function `print_glyph_name':
/home/f/mystuff/pdftex-1.30.6/build/texk/web2c/ttf2afm.c:683: warning: sprintf() is often misused, please use snprintf()
../kpathsea/.libs/libkpathsea.a(concat.o)(.text+0x49): In function `concat':
../../../src/texk/kpathsea/concat.c:35: warning: strcat() is almost always misused, please use strlcat()


main.o(.text+0x30c): In function `add_to_table':
../../../../src/texk/web2c/web2c/main.c:183: warning: strcpy() is almost always misused, please use strlcpy()
main.o(.text+0x4d7): In function `main':
../../../../src/texk/web2c/web2c/main.c:252: warning: sprintf() is often misused, please use snprintf()
y_tab.o(.text+0xc3): In function `compute_array_bounds':
../../../../src/texk/web2c/web2c/web2c.y:1252: warning: strcat() is almost always misused, please use strlcat()


fixwrites.o(.text+0x91): In function `insert_long':
../../../../src/texk/web2c/web2c/fixwrites.c:41: warning: strcpy() is almost always misused, please use strlcpy()


splitup.o(.text+0x171): In function `main':
../../../../src/texk/web2c/web2c/splitup.c:85: warning: sprintf() is often misused, please use snprintf()


-f
-- 



More information about the pdftex mailing list