Package Details: gmailc 0.3-1

Git Clone URL: https://aur.archlinux.org/gmailc.git (read-only, click to copy)
Package Base: gmailc
Description: A minimalist gmail checker written in C based on curl
Upstream URL: https://github.com/NickHu/gmailc
Licenses: MIT
Submitter: NickHu
Maintainer: NickHu
Last Packager: NickHu
Votes: 1
Popularity: 0.000000
First Submitted: 2013-11-25 19:51 (UTC)
Last Updated: 2015-06-30 12:06 (UTC)

Latest Comments

micwoj92 commented on 2025-02-13 09:18 (UTC)

Build fails:

==> Starting build()...
gcc -std=c11 -pedantic -I/usr/include/libxml2 -DVERSION=\"0.3\" -Wall -Wextra -Wpedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -Wnested-externs -Wmissing-include-dirs -Wjump-misses-init -Wlogical-op -O2 -DVERSION=\"0.3\"  -c -o curl_handler.o curl_handler.c
gcc -std=c11 -pedantic -I/usr/include/libxml2 -DVERSION=\"0.3\" -Wall -Wextra -Wpedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -Wnested-externs -Wmissing-include-dirs -Wjump-misses-init -Wlogical-op -O2 -DVERSION=\"0.3\"  -c -o xml_handler.o xml_handler.c
gmailc build options
CFLAGS   = -std=c11 -pedantic -I/usr/include/libxml2 -DVERSION="0.3" -Wall -Wextra -Wpedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -Wnested-externs -Wmissing-include-dirs -Wjump-misses-init -Wlogical-op -O2
LDFLAGS  = -lcurl -lxml2
CC       = gcc
xml_handler.c: In function ‘xml_fullcount’:
xml_handler.c:14:3: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
   14 |   free(xml.data);
      |   ^~~~
xml_handler.c:7:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
    6 | #include "util.h"
  +++ |+#include <stdlib.h>
    7 | 
xml_handler.c:14:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
   14 |   free(xml.data);
      |   ^~~~
xml_handler.c:14:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
xml_handler.c:57:5: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
   57 |     exit(EXIT_FAILURE);
      |     ^~~~
xml_handler.c:57:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
xml_handler.c:57:5: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
xml_handler.c:57:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
xml_handler.c:57:10: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
   57 |     exit(EXIT_FAILURE);
      |          ^~~~~~~~~~~~
xml_handler.c:57:10: note: ‘EXIT_FAILURE’ is defined in header ‘<stdlib.h>’; this is probably fixable by adding ‘#include <stdlib.h>’
xml_handler.c:57:10: note: each undeclared identifier is reported only once for each function it appears in
make: *** [<builtin>: xml_handler.o] Error 1
make: *** Waiting for unfinished jobs....
curl_handler.c: In function ‘url_encode’:
curl_handler.c:90:37: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
   90 |       strncat(encoded, "%40", sizeof("%40"));
      |                                     ^
==> ERROR: A failure occurred in build().
    Aborting...