[Kst] [Bug 64926] included plugin linefit does not compile
George Staikos
staikos at kde.org
Thu Sep 25 19:04:27 CEST 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=64926
------- Additional Comments From staikos at kde.org 2003-09-25 19:04 -------
Subject: Re: [Kst] New: included plugin linefit does not compile
On Thursday 25 September 2003 08:53, Matthew Truch wrote:
> I was unable to compile the linefit plugin for kst included in the source
> tree.
>
> Below is output from gcc:
>
> [matt at cherry linefit]$ make linefit
> gcc -ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2
> -Wformat-security -Wmissing-format-attribute -DQT_THREAD_SUPPORT
> -D_REENTRANT linefit.c -o linefit
> linefit.c:19: warning: no previous prototype for `linefit'
> linefit.c: In function `linefit':
> linefit.c:51: warning: implicit declaration of function `lrint'
> linefit.c:16: warning: unused parameter `is'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In
> function `_start': ../sysdeps/i386/elf/start.S:77: undefined reference to
> `main'
Funny, I just realised this would happen to someone last night. lrint() is
in C99 only. I'll commit a fix shortly.
More information about the Kst
mailing list