# New Ticket Created by Bernhard Schmalhofer
# Please include the string: [perl #59590]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59590 >
When fiddling with 'make splint' I ran into a Splint parse error:
src/exceptions.c:500:25: Variable size initialized to type int, expects
size_t: backtrace(array, 32)
src/exceptions.c:503:36: Unrecognized format code: %zd stack frames (max
trace depth is %d).\n
src/exceptions.c:507:17: Unrecognized identifier: Dl_info
src/exceptions.c:507:26: Parse Error. (For help on parse errors, see
splint -help parseerrors.)
*** Cannot continue.
< cleaning .......... >
make: *** [splint] Fehler 1
[EMAIL PROTECTED]:~/devel/Parrot/trunk$ splint help version
Splint 3.1.1 --- 03 Nov 2006
Maintainer: [EMAIL PROTECTED]
Compiled using i486-linux-gnu-gcc -g -O2 on Linux palmer 2.6.15.7 #1 SMP Thu
Sep 7 19:42:20 UTC 2006 i686 GNU/Linux by buildd
[EMAIL PROTECTED]:~/devel/Parrot/trunk$ uname -a
Linux heist 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686
GNU/Linux
[EMAIL PROTECTED]:~/devel/Parrot/trunk$ gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE
ZWECKE.
'dladdr()' and 'Dl_info' seem to be not in POSIX, but seem to be a
common extension.
I tried passing '+gnu-extensions' on the splint command line, but that
didn't help.
I also tried to define the missing type Dl_info with a preprocessor
directive, but that didn't help
either.
SPLINTFLAGS_TEST = \
+posixlib
-DDl_info="struct { const char *dli_fname; void *dli_fbase; const
char *dli_sname; void *dli_saddr; }" \