KDevelop, Semantic analysis, Makefile, & math.h
Philipp A.
flying-sheep at web.de
Fri Oct 25 13:40:24 UTC 2013
idk if it’s a bug or if i did something wrong, which is why i wrote this
mail.
2013/10/25 Milian Wolff <mail at milianw.de>
> On Friday 25 October 2013 14:51:44 Philipp A. wrote:
> > hi, in a simple project built with a simple Makefile, there are two
> > libraries linked: math.h and gsl (gnu scientific library)
> >
> > while the semantic analysis finds the latter and it compiles and runs
> fine,
> > it has problems with math.h, telling me that it can’t find the
> declaration
> > of “sqrt”.
> >
> > Makefile:
> >
> > CC=clang
> > CFLAGS=--std=c11 -Wall -pedantic
> > LDFLAGS=-lgsl -lgslcblas -lm
> >
> > debug:
> > $(CC) $(CFLAGS) -g -o c-pcor main.c $(LDFLAGS)
> > clean:
> > rm -vfr *~ c-pcor
> >
> > main.h (excerpt):
> >
> > #include <stdio.h>#include <stdlib.h>#include <math.h>#include
> <stdbool.h>
> > #include <gsl/gsl_matrix.h>
>
> Please report bugs on bugs.kde.org and attach the files to reproduce the
> issue
> there.
>
> Bye
> --
> Milian Wolff
> mail at milianw.de
> http://milianw.de
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20131025/167ee284/attachment.html>
More information about the KDevelop-devel
mailing list