Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnuplot.c: add missing header; do not link to unavailable libquadmath on PPC; makefiles: consistently use gfortran #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

barracuda156
Copy link

Re gnuplot.c:

src/gnuplot.c: In function 'gnuplot_create':
src/gnuplot.c:215:13: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  215 |         if(!strcmp(argv[1], "--noplot"))
      |             ^~~~~~
src/gnuplot.c:23:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   22 | #include "dspl.h"
  +++ |+#include <string.h>
   23 | 
src/gnuplot.c:237:13: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
  237 |             memset(str, 0, 1024*sizeof(char));
      |             ^~~~~~
src/gnuplot.c:237:13: note: include '<string.h>' or provide a declaration of 'memset'
src/gnuplot.c:237:13: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
src/gnuplot.c:237:13: note: include '<string.h>' or provide a declaration of 'memset'

The rest should be self-explanatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant