Commit Graph

11 Commits

Author SHA1 Message Date
a6c13797a9 * libwget/css_tokenizer.lex: Suppress clang warning '-Wextra-semi-stmt' 2020-01-07 13:11:10 +01:00
6c0ac1f324 Fix more clang warnings
* libwget/css_tokenizer.lex: Skip -Wsuggest-attribute=pure for clang
* libwget/iri.c (wget_iri_parse): Explicit cast
* src/dl.c: Use 'int' for vector size
* src/options.c: Likewise,
  remove 'return' after call to exit(),
  (set_long_option): Rename local var 'env' to 'path'
* src/plugin.c: Make global vars 'static',
  Use 'int' for vector size
2017-07-28 11:56:43 +02:00
6a167ca2c4 Correctly include config.h into css_tokenizer
* libwget/css_tokenizer.lex: Add config.h via %top directive
* libwget/Makefile.am: Remove sed from make target
2017-06-24 12:16:07 +02:00
c6ee3d79ad Fix syntax-check 'sc_prohibit_have_config_h'
* cfg.mk: Remove sc_prohibit_have_config_h from local-checks-to-skip
* libwget/*.c: Include <config.h> unconditionally
* src/*.c: Likewise
* tests/*.c: Likewise
2017-04-30 22:01:34 +02:00
262d267c8e * libwget/css_tokenizer.lex: Use clang #pragma for -Wshorten-64-to-32 2017-04-11 11:52:19 +02:00
5db7c0f5cb * libwget/css_tokenizer.lex: Suppress clang warnings 2017-04-07 20:37:07 +02:00
9568b0c87e Rename include/libwget.h to include/wget/wget.h+wgetver.h 2016-09-30 09:47:32 +02:00
e274a54b05 Use libwget alloc functions in CSS parser
* libwget/css.c: New wrapper functions yyalloc() and yyrealloc()
* libwget/css_tokenizer.lex: Set options noyyalloc and noyyrealloc
2016-09-20 12:48:01 +02:00
b9ae01cfb1 Suppress warning in auto-generated css_tokenizer.c
* libwget/css_tokenizer.lex: Add GCC pragmas to suppress warnings
  when compiling libwget/css_tokenizer.c
2016-06-15 15:45:22 +02:00
1479460246 Disable 'unused' warnings in CSS tokenizer
* libwget/css_tokenizer.lex: Disable GCC warnings unused-parameter
  and unused-function
2015-11-23 21:52:36 +01:00
c6b0e461a1 Transform Mget into Wget 2015-09-19 22:54:38 +02:00