You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bcd/bcd.c: In function ‘main’:
bcd/bcd.c:138:2: warning: ignoring return value of ‘setregid’, declared with attribute warn_unused_result [-Wunused-result]
setregid(getgid(), getgid());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc bcd/bcd.o -o bcd/bcd
gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/bog.c -o boggle/boggle/bog.o
In file included from boggle/boggle/bog.c:58:0:
boggle/boggle/extern.h:46:7: error: conflicting types for ‘getline’
char *getline(char *);
^~~~~~~
In file included from include/stdio.h:35:0,
from boggle/boggle/bog.c:51:
/usr/include/stdio.h:616:20: note: previous declaration of ‘getline’ was here
extern _IO_ssize_t getline (char **__restrict __lineptr,
^~~~~~~
boggle/boggle/bog.c: In function ‘main’:
boggle/boggle/bog.c:134:2: warning: ignoring return value of ‘setregid’, declared with attribute warn_unused_result [-Wunused-result]
setregid(getgid(), getgid());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
GNUmakefile:158: recipe for target 'boggle/boggle/bog.o' failed
make: *** [boggle/boggle/bog.o] Error 1
Also, is there a way to get make to just compile the tetris application?
Many thanks in advance for a reply.
The text was updated successfully, but these errors were encountered:
bcd/bcd.c: In function ‘main’:
bcd/bcd.c:138:2: warning: ignoring return value of ‘setregid’, declared with attribute warn_unused_result [-Wunused-result]
setregid(getgid(), getgid());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc bcd/bcd.o -o bcd/bcd
gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/bog.c -o boggle/boggle/bog.o
In file included from boggle/boggle/bog.c:58:0:
boggle/boggle/extern.h:46:7: error: conflicting types for ‘getline’
char *getline(char *);
^~~~~~~
In file included from include/stdio.h:35:0,
from boggle/boggle/bog.c:51:
/usr/include/stdio.h:616:20: note: previous declaration of ‘getline’ was here
extern _IO_ssize_t getline (char **__restrict __lineptr,
^~~~~~~
boggle/boggle/bog.c: In function ‘main’:
boggle/boggle/bog.c:134:2: warning: ignoring return value of ‘setregid’, declared with attribute warn_unused_result [-Wunused-result]
setregid(getgid(), getgid());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
GNUmakefile:158: recipe for target 'boggle/boggle/bog.o' failed
make: *** [boggle/boggle/bog.o] Error 1
Also, is there a way to get make to just compile the tetris application?
Many thanks in advance for a reply.
The text was updated successfully, but these errors were encountered: