Skip to content

Instantly share code, notes, and snippets.

@msmhrt
Created August 30, 2022 18:16
Show Gist options
  • Save msmhrt/8e1b63d1fb21b85f5c37c4a1553b1018 to your computer and use it in GitHub Desktop.
Save msmhrt/8e1b63d1fb21b85f5c37c4a1553b1018 to your computer and use it in GitHub Desktop.
build log of h2o
Script started on 2022-08-31 03:06:48+0900
]0;msmhrt@ashrose: ~/repository/h2o msmhrt@ashrose:~/repository/h2o$ git clean -fdx
Removing build/
Removing include/h2o/gitrev.h
]0;msmhrt@ashrose: ~/repository/h2o msmhrt@ashrose:~/repository/h2o$ mkdir -p build
]0;msmhrt@ashrose: ~/repository/h2o msmhrt@ashrose:~/repository/h2o$ cd build
]0;msmhrt@ashrose: ~/repository/h2o/build msmhrt@ashrose:~/repository/h2o/build$ cmake -DCMAKE_INSTALL_PREFIX=/home/msmhrt/local ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Performing Test ARCH_SUPPORTS_64BIT_ATOMICS
-- Performing Test ARCH_SUPPORTS_64BIT_ATOMICS - Success
-- Performing Test LIBC_HAS_BACKTRACE
-- Performing Test LIBC_HAS_BACKTRACE - Success
-- Detecting USDT support
-- Detecting USDT support - not found
-- Performing Test CC_HAS_AESNI256
-- Performing Test CC_HAS_AESNI256 - Failed
-- Performing Test SYSTEM_HAS_KTLS
-- Performing Test SYSTEM_HAS_KTLS - Failed
-- Checking for module 'libuv>=1.0.0'
-- No package 'libuv' found
CMake Warning at CMakeLists.txt:206 (FIND_PACKAGE):
By not providing "FindLIBUV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "LIBUV", but
CMake did not find one.
Could not find a package configuration file provided by "LIBUV" with any of
the following names:
LIBUVConfig.cmake
libuv-config.cmake
Add the installation prefix of "LIBUV" to CMAKE_PREFIX_PATH or set
"LIBUV_DIR" to a directory containing one of the above files. If "LIBUV"
provides a separate development package or SDK, be sure it has been
installed.
-- Checking for module 'libwslay'
-- No package 'libwslay' found
CMake Warning at CMakeLists.txt:231 (FIND_PACKAGE):
By not providing "FindWSLAY.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "WSLAY", but
CMake did not find one.
Could not find a package configuration file provided by "WSLAY" with any of
the following names:
WSLAYConfig.cmake
wslay-config.cmake
Add the installation prefix of "WSLAY" to CMAKE_PREFIX_PATH or set
"WSLAY_DIR" to a directory containing one of the above files. If "WSLAY"
provides a separate development package or SDK, be sure it has been
installed.
-- Checking for module 'libbrotlidec'
-- No package 'libbrotlidec' found
-- Checking for module 'libbrotlienc'
-- No package 'libbrotlienc' found
-- Checking for module 'libcap'
-- No package 'libcap' found
-- Checking for module 'libbcc'
-- No package 'libbcc' found
-- Checking Linux kernel version 4.15.0-140-generic >= 4.10.0 for h2olog - OK
-- C++11 OK
-- Configuring done
-- Generating done
-- Build files have been written to: /home/msmhrt/repository/h2o/build
]0;msmhrt@ashrose: ~/repository/h2o/build msmhrt@ashrose:~/repository/h2o/build$ make
Scanning dependencies of target gitrev
[ 0%] Built target gitrev
Scanning dependencies of target mruby
PKG-CONFIG onigmo
PKG-CONFIG oniguruma
CPP src/debug.c -> ../../build/mruby/host/src/debug.pi
CPP src/array.c -> ../../build/mruby/host/src/array.pi
CPP src/load.c -> ../../build/mruby/host/src/load.pi
CPP src/symbol.c -> ../../build/mruby/host/src/symbol.pi
CPP src/compar.c -> ../../build/mruby/host/src/compar.pi
CPP src/readint.c -> ../../build/mruby/host/src/readint.pi
CPP src/gc.c -> ../../build/mruby/host/src/gc.pi
CPP src/readflt.c -> ../../build/mruby/host/src/readflt.pi
CPP src/numeric.c -> ../../build/mruby/host/src/numeric.pi
CPP src/init.c -> ../../build/mruby/host/src/init.pi
CPP src/fmt_fp.c -> ../../build/mruby/host/src/fmt_fp.pi
CPP src/dump.c -> ../../build/mruby/host/src/dump.pi
CPP src/numops.c -> ../../build/mruby/host/src/numops.pi
CPP src/range.c -> ../../build/mruby/host/src/range.pi
CPP src/pool.c -> ../../build/mruby/host/src/pool.pi
CPP src/object.c -> ../../build/mruby/host/src/object.pi
CPP src/hash.c -> ../../build/mruby/host/src/hash.pi
CPP src/string.c -> ../../build/mruby/host/src/string.pi
CPP src/kernel.c -> ../../build/mruby/host/src/kernel.pi
CPP src/version.c -> ../../build/mruby/host/src/version.pi
CPP src/vm.c -> ../../build/mruby/host/src/vm.pi
CPP src/error.c -> ../../build/mruby/host/src/error.pi
CPP src/variable.c -> ../../build/mruby/host/src/variable.pi
CPP src/codedump.c -> ../../build/mruby/host/src/codedump.pi
CPP src/enum.c -> ../../build/mruby/host/src/enum.pi
CPP src/state.c -> ../../build/mruby/host/src/state.pi
CPP src/backtrace.c -> ../../build/mruby/host/src/backtrace.pi
CPP src/etc.c -> ../../build/mruby/host/src/etc.pi
CPP src/proc.c -> ../../build/mruby/host/src/proc.pi
CPP src/print.c -> ../../build/mruby/host/src/print.pi
CPP src/cdump.c -> ../../build/mruby/host/src/cdump.pi
CPP src/class.c -> ../../build/mruby/host/src/class.pi
CPP mrbgems/mruby-bigint/core/bigint.c -> ../../build/mruby/host/mrbgems/mruby-bigint/core/bigint.pi
CPP mrbgems/mruby-compiler/core/codegen.c -> ../../build/mruby/host/mrbgems/mruby-compiler/core/codegen.pi
CPP mrbgems/mruby-compiler/core/y.tab.c -> ../../build/mruby/host/mrbgems/mruby-compiler/core/y.tab.pi
CC mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c -> ../../build/mruby/host/mrbc/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.o
CC mrbgems/mruby-bin-mrbc/tools/mrbc/stub.c -> ../../build/mruby/host/mrbc/mrbgems/mruby-bin-mrbc/tools/mrbc/stub.o
CC src/debug.c -> ../../build/mruby/host/mrbc/src/debug.o
CC src/array.c -> ../../build/mruby/host/mrbc/src/array.o
CC src/load.c -> ../../build/mruby/host/mrbc/src/load.o
CC src/symbol.c -> ../../build/mruby/host/mrbc/src/symbol.o
CC src/compar.c -> ../../build/mruby/host/mrbc/src/compar.o
CC src/readint.c -> ../../build/mruby/host/mrbc/src/readint.o
CC src/gc.c -> ../../build/mruby/host/mrbc/src/gc.o
CC src/readflt.c -> ../../build/mruby/host/mrbc/src/readflt.o
CC src/numeric.c -> ../../build/mruby/host/mrbc/src/numeric.o
CC src/init.c -> ../../build/mruby/host/mrbc/src/init.o
CC src/fmt_fp.c -> ../../build/mruby/host/mrbc/src/fmt_fp.o
CC src/dump.c -> ../../build/mruby/host/mrbc/src/dump.o
CC src/numops.c -> ../../build/mruby/host/mrbc/src/numops.o
CC src/range.c -> ../../build/mruby/host/mrbc/src/range.o
CC src/pool.c -> ../../build/mruby/host/mrbc/src/pool.o
CC src/object.c -> ../../build/mruby/host/mrbc/src/object.o
CC src/hash.c -> ../../build/mruby/host/mrbc/src/hash.o
CC src/string.c -> ../../build/mruby/host/mrbc/src/string.o
CC src/kernel.c -> ../../build/mruby/host/mrbc/src/kernel.o
CC src/version.c -> ../../build/mruby/host/mrbc/src/version.o
CC src/vm.c -> ../../build/mruby/host/mrbc/src/vm.o
CC src/error.c -> ../../build/mruby/host/mrbc/src/error.o
CC src/variable.c -> ../../build/mruby/host/mrbc/src/variable.o
CC src/codedump.c -> ../../build/mruby/host/mrbc/src/codedump.o
CC src/enum.c -> ../../build/mruby/host/mrbc/src/enum.o
CC src/state.c -> ../../build/mruby/host/mrbc/src/state.o
CC src/backtrace.c -> ../../build/mruby/host/mrbc/src/backtrace.o
CC src/etc.c -> ../../build/mruby/host/mrbc/src/etc.o
CC src/proc.c -> ../../build/mruby/host/mrbc/src/proc.o
CC src/print.c -> ../../build/mruby/host/mrbc/src/print.o
CC src/cdump.c -> ../../build/mruby/host/mrbc/src/cdump.o
CC src/class.c -> ../../build/mruby/host/mrbc/src/class.o
CC mrbgems/mruby-compiler/core/codegen.c -> ../../build/mruby/host/mrbc/mrbgems/mruby-compiler/core/codegen.o
CC mrbgems/mruby-compiler/core/y.tab.c -> ../../build/mruby/host/mrbc/mrbgems/mruby-compiler/core/y.tab.o
AR ../../build/mruby/host/mrbc/lib/libmruby_core.a
ar: /home/msmhrt/repository/h2o/build/mruby/host/mrbc/lib/libmruby_core.a を作成しています
LD ../../build/mruby/host/mrbc/bin/mrbc
GEN mrblib/*.rb -> ../../build/mruby/host/mrblib/mrblib.c
MRBC mrblib/00class.rb
mrblib/00kernel.rb
mrblib/10error.rb
mrblib/array.rb
mrblib/compar.rb
mrblib/enum.rb
mrblib/hash.rb
mrblib/kernel.rb
mrblib/numeric.rb
mrblib/range.rb
mrblib/string.rb
mrblib/symbol.rb
CPP ../../build/mruby/host/mrblib/mrblib.c -> ../../build/mruby/host/mrblib/mrblib.pi
CPP ../mruby-input-stream/src/mruby_input_stream.c -> ../../build/mruby/host/mrbgems/mruby-input-stream/src/mruby_input_stream.pi
GEN ../../build/mruby/host/mrbgems/mruby-input-stream/gem_init.c
MRBC ../mruby-input-stream/mrblib/input_stream.rb
CPP ../../build/mruby/host/mrbgems/mruby-input-stream/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-input-stream/gem_init.pi
CPP ../mruby-digest/src/digest.c -> ../../build/mruby/host/mrbgems/mruby-digest/src/digest.pi
GEN ../../build/mruby/host/mrbgems/mruby-digest/gem_init.c
MRBC ../mruby-digest/mrblib/digest.rb
CPP ../../build/mruby/host/mrbgems/mruby-digest/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-digest/gem_init.pi
CPP ../mruby-require/src/require.c -> ../../build/mruby/host/mrbgems/mruby-require/src/require.pi
GEN ../../build/mruby/host/mrbgems/mruby-require/gem_init.c
MRBC ../mruby-require/mrblib/require.rb
CPP ../../build/mruby/host/mrbgems/mruby-require/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-require/gem_init.pi
CPP ../mruby-dir/src/dir.c -> ../../build/mruby/host/mrbgems/mruby-dir/src/dir.pi
GEN ../../build/mruby/host/mrbgems/mruby-dir/gem_init.c
MRBC ../mruby-dir/mrblib/dir.rb
CPP ../../build/mruby/host/mrbgems/mruby-dir/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-dir/gem_init.pi
mkdir -p /home/msmhrt/repository/h2o/build/mruby/host/mrbgems/mruby-file-stat
./configure /home/msmhrt/repository/h2o/deps/mruby-file-stat
checking for gcc... /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings accepts -g... yes
checking for /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimespec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_ctim... yes
checking for struct stat.st_ctimespec... no
checking for struct stat.st_ctimensec... no
checking for struct stat.st_birthtimespec... no
checking for getgroups... yes
checking for lstat... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
configure: creating ./config.status
config.status: creating config.h
CPP ../mruby-file-stat/src/file-stat.c -> ../../build/mruby/host/mrbgems/mruby-file-stat/src/file-stat.pi
GEN ../../build/mruby/host/mrbgems/mruby-file-stat/gem_init.c
MRBC ../mruby-file-stat/mrblib/ext.rb
../mruby-file-stat/mrblib/file-stat.rb
CPP ../../build/mruby/host/mrbgems/mruby-file-stat/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-file-stat/gem_init.pi
CPP ../mruby-json/src/mrb_json.c -> ../../build/mruby/host/mrbgems/mruby-json/src/mrb_json.pi
CPP ../mruby-json/src/parson.c -> ../../build/mruby/host/mrbgems/mruby-json/src/parson.pi
GEN ../../build/mruby/host/mrbgems/mruby-json/gem_init.c
MRBC ../mruby-json/mrblib/json.rb
CPP ../../build/mruby/host/mrbgems/mruby-json/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-json/gem_init.pi
CPP ../mruby-env/src/env.c -> ../../build/mruby/host/mrbgems/mruby-env/src/env.pi
GEN ../../build/mruby/host/mrbgems/mruby-env/gem_init.c
MRBC ../mruby-env/mrblib/env.rb
CPP ../../build/mruby/host/mrbgems/mruby-env/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-env/gem_init.pi
CPP mrbgems/mruby-errno/src/errno.c -> ../../build/mruby/host/mrbgems/mruby-errno/src/errno.pi
GEN ../../build/mruby/host/mrbgems/mruby-errno/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-errno/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-errno/gem_init.pi
CPP ../mruby-class-new-fiber-safe/src/class-new-fiber-safe.c -> ../../build/mruby/host/mrbgems/mruby-class-new-fiber-safe/src/class-new-fiber-safe.pi
GEN ../../build/mruby/host/mrbgems/mruby-class-new-fiber-safe/gem_init.c
MRBC ../mruby-class-new-fiber-safe/mrblib/class-new-fiber-safe.rb
CPP ../../build/mruby/host/mrbgems/mruby-class-new-fiber-safe/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-class-new-fiber-safe/gem_init.pi
extracting onigmo-6.2.0
autotools /home/msmhrt/repository/h2o/build/mruby/host/mrbgems/mruby-onig-regexp/onigmo-6.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings accepts -g... yes
checking for /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings option to accept ISO C89... none needed
checking whether /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings... /usr/bin/cc
checking if the linker (/usr/bin/cc ) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/cc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings option to produce PIC... -fPIC -DPIC
checking if /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings static flag -static works... yes
checking if /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings supports -c -o file.o... yes
checking if /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings supports -c -o file.o... (cached) yes
checking whether the /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings linker (/usr/bin/cc -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for python3... python3
checking for ANSI C header files... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for stdint.h... (cached) yes
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of void*... 8
checking size of long long... 8
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating onigmo-config
config.status: creating sample/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
Making all in .
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c -o regerror.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c -o regparse.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regext.lo -MD -MP -MF .deps/regext.Tpo -c regext.c -o regext.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -o regcomp.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -o regexec.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT reggnu.lo -MD -MP -MF .deps/reggnu.Tpo -c reggnu.c -o reggnu.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c -o regenc.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regsyntax.lo -MD -MP -MF .deps/regsyntax.Tpo -c regsyntax.c -o regsyntax.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regtrav.lo -MD -MP -MF .deps/regtrav.Tpo -c regtrav.c -o regtrav.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regversion.lo -MD -MP -MF .deps/regversion.Tpo -c regversion.c -o regversion.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT st.lo -MD -MP -MF .deps/st.Tpo -c st.c -o st.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regposix.lo -MD -MP -MF .deps/regposix.Tpo -c regposix.c -o regposix.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT regposerr.lo -MD -MP -MF .deps/regposerr.Tpo -c regposerr.c -o regposerr.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/unicode.lo -MD -MP -MF enc/.deps/unicode.Tpo -c enc/unicode.c -o enc/unicode.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/ascii.lo -MD -MP -MF enc/.deps/ascii.Tpo -c enc/ascii.c -o enc/ascii.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/utf_8.lo -MD -MP -MF enc/.deps/utf_8.Tpo -c enc/utf_8.c -o enc/utf_8.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/utf_16be.lo -MD -MP -MF enc/.deps/utf_16be.Tpo -c enc/utf_16be.c -o enc/utf_16be.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/utf_16le.lo -MD -MP -MF enc/.deps/utf_16le.Tpo -c enc/utf_16le.c -o enc/utf_16le.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/utf_32be.lo -MD -MP -MF enc/.deps/utf_32be.Tpo -c enc/utf_32be.c -o enc/utf_32be.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/utf_32le.lo -MD -MP -MF enc/.deps/utf_32le.Tpo -c enc/utf_32le.c -o enc/utf_32le.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/euc_jp.lo -MD -MP -MF enc/.deps/euc_jp.Tpo -c enc/euc_jp.c -o enc/euc_jp.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/shift_jis.lo -MD -MP -MF enc/.deps/shift_jis.Tpo -c enc/shift_jis.c -o enc/shift_jis.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/windows_31j.lo -MD -MP -MF enc/.deps/windows_31j.Tpo -c enc/windows_31j.c -o enc/windows_31j.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_1.lo -MD -MP -MF enc/.deps/iso_8859_1.Tpo -c enc/iso_8859_1.c -o enc/iso_8859_1.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_2.lo -MD -MP -MF enc/.deps/iso_8859_2.Tpo -c enc/iso_8859_2.c -o enc/iso_8859_2.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_3.lo -MD -MP -MF enc/.deps/iso_8859_3.Tpo -c enc/iso_8859_3.c -o enc/iso_8859_3.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_4.lo -MD -MP -MF enc/.deps/iso_8859_4.Tpo -c enc/iso_8859_4.c -o enc/iso_8859_4.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_5.lo -MD -MP -MF enc/.deps/iso_8859_5.Tpo -c enc/iso_8859_5.c -o enc/iso_8859_5.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_6.lo -MD -MP -MF enc/.deps/iso_8859_6.Tpo -c enc/iso_8859_6.c -o enc/iso_8859_6.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_7.lo -MD -MP -MF enc/.deps/iso_8859_7.Tpo -c enc/iso_8859_7.c -o enc/iso_8859_7.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_8.lo -MD -MP -MF enc/.deps/iso_8859_8.Tpo -c enc/iso_8859_8.c -o enc/iso_8859_8.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_9.lo -MD -MP -MF enc/.deps/iso_8859_9.Tpo -c enc/iso_8859_9.c -o enc/iso_8859_9.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_10.lo -MD -MP -MF enc/.deps/iso_8859_10.Tpo -c enc/iso_8859_10.c -o enc/iso_8859_10.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_11.lo -MD -MP -MF enc/.deps/iso_8859_11.Tpo -c enc/iso_8859_11.c -o enc/iso_8859_11.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_13.lo -MD -MP -MF enc/.deps/iso_8859_13.Tpo -c enc/iso_8859_13.c -o enc/iso_8859_13.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_14.lo -MD -MP -MF enc/.deps/iso_8859_14.Tpo -c enc/iso_8859_14.c -o enc/iso_8859_14.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_15.lo -MD -MP -MF enc/.deps/iso_8859_15.Tpo -c enc/iso_8859_15.c -o enc/iso_8859_15.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/iso_8859_16.lo -MD -MP -MF enc/.deps/iso_8859_16.Tpo -c enc/iso_8859_16.c -o enc/iso_8859_16.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/euc_tw.lo -MD -MP -MF enc/.deps/euc_tw.Tpo -c enc/euc_tw.c -o enc/euc_tw.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/euc_kr.lo -MD -MP -MF enc/.deps/euc_kr.Tpo -c enc/euc_kr.c -o enc/euc_kr.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/big5.lo -MD -MP -MF enc/.deps/big5.Tpo -c enc/big5.c -o enc/big5.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/gb18030.lo -MD -MP -MF enc/.deps/gb18030.Tpo -c enc/gb18030.c -o enc/gb18030.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/koi8_r.lo -MD -MP -MF enc/.deps/koi8_r.Tpo -c enc/koi8_r.c -o enc/koi8_r.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/koi8_u.lo -MD -MP -MF enc/.deps/koi8_u.Tpo -c enc/koi8_u.c -o enc/koi8_u.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/windows_1250.lo -MD -MP -MF enc/.deps/windows_1250.Tpo -c enc/windows_1250.c -o enc/windows_1250.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/windows_1251.lo -MD -MP -MF enc/.deps/windows_1251.Tpo -c enc/windows_1251.c -o enc/windows_1251.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/windows_1252.lo -MD -MP -MF enc/.deps/windows_1252.Tpo -c enc/windows_1252.c -o enc/windows_1252.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/windows_1253.lo -MD -MP -MF enc/.deps/windows_1253.Tpo -c enc/windows_1253.c -o enc/windows_1253.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/windows_1254.lo -MD -MP -MF enc/.deps/windows_1254.Tpo -c enc/windows_1254.c -o enc/windows_1254.o
libtool: compile: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -I./enc/unicode -Wall -g -O2 -MT enc/windows_1257.lo -MD -MP -MF enc/.deps/windows_1257.Tpo -c enc/windows_1257.c -o enc/windows_1257.o
libtool: link: ar cru .libs/libonigmo.a regerror.o regparse.o regext.o regcomp.o regexec.o reggnu.o regenc.o regsyntax.o regtrav.o regversion.o st.o regposix.o regposerr.o enc/unicode.o enc/ascii.o enc/utf_8.o enc/utf_16be.o enc/utf_16le.o enc/utf_32be.o enc/utf_32le.o enc/euc_jp.o enc/shift_jis.o enc/windows_31j.o enc/iso_8859_1.o enc/iso_8859_2.o enc/iso_8859_3.o enc/iso_8859_4.o enc/iso_8859_5.o enc/iso_8859_6.o enc/iso_8859_7.o enc/iso_8859_8.o enc/iso_8859_9.o enc/iso_8859_10.o enc/iso_8859_11.o enc/iso_8859_13.o enc/iso_8859_14.o enc/iso_8859_15.o enc/iso_8859_16.o enc/euc_tw.o enc/euc_kr.o enc/big5.o enc/gb18030.o enc/koi8_r.o enc/koi8_u.o enc/windows_1250.o enc/windows_1251.o enc/windows_1252.o enc/windows_1253.o enc/windows_1254.o enc/windows_1257.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libonigmo.a
libtool: link: ( cd ".libs" && rm -f "libonigmo.la" && ln -s "../libonigmo.la" "libonigmo.la" )
Making all in sample
encode.c: In function ‘main’:
encode.c:128:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:128:15: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:130:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:130:15: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:132:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:132:15: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:134:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:134:15: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:136:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:136:15: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:138:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:138:15: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"aBc\\w", " AbCd");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:141:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
" [a-c\337z] ", " SS ");
^~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:141:21: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
" [a-c\337z] ", " SS ");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:143:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
" [\330-\341] ", " SS ");
^~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:143:22: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
" [\330-\341] ", " SS ");
^~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:146:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337 ", " Ss ");
^~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:146:23: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337 ", " Ss ");
^~~~~~~~~~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:148:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS ", " \337 ");
^~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:148:21: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS ", " \337 ");
^~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:151:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\\A\\S\\z", "ss");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:151:18: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\\A\\S\\z", "ss");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:154:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:154:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:157:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:157:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:159:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:159:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:161:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:161:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:163:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:163:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:165:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:165:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:167:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:167:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:169:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:169:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:171:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:171:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:173:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:173:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:175:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:175:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:177:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:177:14: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[ac]+", "bbbaAaCCC");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:183:59: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_KOI8_R, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:183:65: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_KOI8_R, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:184:59: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_KOI8_U, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:184:65: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_KOI8_U, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:185:59: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_EUC_TW, ONIG_OPTION_IGNORECASE, "b*a+?c+", "bbbaaaccc");
^~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:185:70: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_EUC_TW, ONIG_OPTION_IGNORECASE, "b*a+?c+", "bbbaaaccc");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:186:59: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_EUC_KR, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:186:65: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_EUC_KR, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:187:59: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_EUC_CN, ONIG_OPTION_IGNORECASE, "c+", "bbbaaaccc");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:187:65: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_EUC_CN, ONIG_OPTION_IGNORECASE, "c+", "bbbaaaccc");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:188:59: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_BIG5, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:188:65: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
r |= exec(ONIG_ENCODING_BIG5, ONIG_OPTION_IGNORECASE, "a+", "bbbaaaccc");
^~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:191:12: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "SS");
^~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:191:20: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "SS");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:193:12: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS", "\337");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:193:18: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS", "\337");
^~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:195:12: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SSb\337ssc", "a\337bSS\337cd");
^~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:195:26: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SSb\337ssc", "a\337bSS\337cd");
^~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:197:12: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[a\337]{0,2}", "aSS");
^~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:197:28: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"[a\337]{0,2}", "aSS");
^~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:199:12: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"is", "iss");
^~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:199:18: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"is", "iss");
^~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:202:37: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ONIG_OPTION_NONE, "a+",
^~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:203:19: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000b\000a\000a\000a\000c\000c\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:206:37: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ONIG_OPTION_NONE, "a+",
^~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:207:19: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"b\000a\000a\000a\000a\000c\000\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:211:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000b\000a\000a\000a\000c\000c\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:212:19: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"x\000b\000a\000a\000a\000c\000c\000\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:216:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"b\000a\000a\000a\000c\000c\000\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:217:19: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000x\000b\000a\000a\000a\000c\000c\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:221:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000\000\000b\000\000\000a\000\000\000a\000\000\000a\000\000\000c\000\000\000c\000\000\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:222:19: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"x\000\000\000b\000\000\000a\000\000\000a\000\000\000a\000\000\000c\000\000\000c\000\000\000\000\000\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:226:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"b\000\000\000a\000\000\000a\000\000\000a\000\000\000c\000\000\000c\000\000\000\000\000\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:227:19: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000\000\000x\000\000\000b\000\000\000a\000\000\000a\000\000\000a\000\000\000c\000\000\000c\000\000\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:231:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "\000S\000S\000\000");
^~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:231:27: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "\000S\000S\000\000");
^~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:235:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS", "\000\337\000\000");
^~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:235:25: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS", "\000\337\000\000");
^~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:239:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "S\000S\000\000\000");
^~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:239:27: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "S\000S\000\000\000");
^~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:243:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS", "\000\000\000\337\000\000\000\000");
^~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:243:25: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"SS", "\000\000\000\337\000\000\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:247:19: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "S\000\000\000S\000\000\000\000\000\000\000");
^~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:247:27: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\337", "S\000\000\000S\000\000\000\000\000\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:250:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000[\000[\000:\000a\000l\000n\000u\000m\000:\000]\000]\000+\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:251:12: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000#\002\120\000a\000Z\012\077\012\076\012\075\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:256:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000\\\000d\000+\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:257:12: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\0003\0001\377\020\377\031\377\032\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:260:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"(Aa\\d)+", "BaA5Aa0234");
^~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:260:17: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"(Aa\\d)+", "BaA5Aa0234");
^~~~~~~~~~~~
encode.c:45:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options,
^~~~
encode.c:264:5: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"^\\P{Hiragana}\\p{^Hiragana}(\\p{Hiragana}+)$",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:265:5: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\060\100\060\240\060\101\060\102\060\226\060\237\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:269:5: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000[\000\337\000]\000\000", "\000S\000S\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:269:35: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000[\000\337\000]\000\000", "\000S\000S\000\000");
^~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:273:5: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000[\000\337\000]\000\000", "\000s\000S\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:273:35: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000[\000\337\000]\000\000", "\000s\000S\000\000");
^~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:277:5: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000^\000[\000\001\000-\377\375\000]\000$\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:278:5: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000s\000S\000\000");
^~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:282:5: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000S\000S\000\000",
^~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:283:5: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000S\000T\000\337\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:287:5: warning: passing argument 4 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000S\000T\000S\000S\000\000",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
encode.c:288:5: warning: passing argument 5 of ‘exec_deluxe’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\000S\000t\000s\000S\000\000");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:84:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec_deluxe(OnigEncoding pattern_enc, OnigEncoding str_enc,
^~~~~~~~~~~
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o encode encode.o ../.libs/libonigmo.a
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o listcap listcap.o ../.libs/libonigmo.a
names.c: In function ‘name_callback’:
names.c:20:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
s = (ref == gn ? "*" : "");
^
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o names names.o ../.libs/libonigmo.a
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o posix posix.o ../.libs/libonigmo.a
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o simple simple.o ../.libs/libonigmo.a
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o sql sql.o ../.libs/libonigmo.a
syntax.c: In function ‘main’:
syntax.c:65:5: warning: passing argument 2 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\\p{XDigit}\\P{XDigit}\\p{^XDigit}\\P{^XDigit}\\p{XDigit}",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syntax.c:8:12: note: expected ‘char *’ but argument is of type ‘const char *’
extern int exec(const OnigSyntaxType* syntax,
^~~~
syntax.c:66:5: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"bgh3a");
^~~~~~~
syntax.c:8:12: note: expected ‘char *’ but argument is of type ‘const char *’
extern int exec(const OnigSyntaxType* syntax,
^~~~
syntax.c:69:5: warning: passing argument 2 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\\p{XDigit}\\P{XDigit}[a-c&&b-g]\\u0020[\\u0021]", "bgc !");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syntax.c:8:12: note: expected ‘char *’ but argument is of type ‘const char *’
extern int exec(const OnigSyntaxType* syntax,
^~~~
syntax.c:69:57: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\\p{XDigit}\\P{XDigit}[a-c&&b-g]\\u0020[\\u0021]", "bgc !");
^~~~~~~
syntax.c:8:12: note: expected ‘char *’ but argument is of type ‘const char *’
extern int exec(const OnigSyntaxType* syntax,
^~~~
syntax.c:72:12: warning: passing argument 2 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"abc def* e+ g?ddd[a-rvvv] (vv){3,7}hv\\dvv(?:aczui ss)\\W\\w$",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syntax.c:8:12: note: expected ‘char *’ but argument is of type ‘const char *’
extern int exec(const OnigSyntaxType* syntax,
^~~~
syntax.c:73:12: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"abc def* e+ g?ddd[a-rvvv] (vv){3,7}hv\\dvv(?:aczui ss)\\W\\w$");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
syntax.c:8:12: note: expected ‘char *’ but argument is of type ‘const char *’
extern int exec(const OnigSyntaxType* syntax,
^~~~
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o syntax syntax.o ../.libs/libonigmo.a
scan.c: In function ‘main’:
scan.c:81:8: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\\Ga+\\s*", "a aa aaa baaa");
^~~~~~~~~~~
scan.c:47:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options, char* apattern, char* astr)
^~~~
scan.c:81:21: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"\\Ga+\\s*", "a aa aaa baaa");
^~~~~~~~~~~~~~~
scan.c:47:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options, char* apattern, char* astr)
^~~~
scan.c:85:8: warning: passing argument 3 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"a+\\s*", "a aa aaa baaa");
^~~~~~~~
scan.c:47:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options, char* apattern, char* astr)
^~~~
scan.c:85:18: warning: passing argument 4 of ‘exec’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
"a+\\s*", "a aa aaa baaa");
^~~~~~~~~~~~~~~
scan.c:47:1: note: expected ‘char *’ but argument is of type ‘const char *’
exec(OnigEncoding enc, OnigOptionType options, char* apattern, char* astr)
^~~~
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o scan scan.o ../.libs/libonigmo.a
crnl.c: In function ‘main’:
crnl.c:105:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 1, "", "\r\n", 0, 0);
^~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:105:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 1, "", "\r\n", 0, 0);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:107:9: warning: passing argument 2 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f( 2, ".", "\r\n");
^~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:107:20: warning: passing argument 3 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f( 2, ".", "\r\n");
^~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:108:9: warning: passing argument 2 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f( 3, "..", "\r\n");
^~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:108:20: warning: passing argument 3 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f( 3, "..", "\r\n");
^~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:109:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 4, "^", "\r\n", 0, 0);
^~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:109:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 4, "^", "\r\n", 0, 0);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:110:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 5, "\\n^", "\r\nf", 1, 2);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:110:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 5, "\\n^", "\r\nf", 1, 2);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:111:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 6, "\\n^a", "\r\na", 1, 3);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:111:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 6, "\\n^a", "\r\na", 1, 3);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:112:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 7, "$", "\r\n", 0, 0);
^~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:112:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 7, "$", "\r\n", 0, 0);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:113:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 8, "T$", "T\r\n", 0, 1);
^~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:113:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 8, "T$", "T\r\n", 0, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:117:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 9, "T$", "T\raT\r\n", 3, 4);
^~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:117:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x( 9, "T$", "T\raT\r\n", 3, 4);
^~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:119:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(10, "\\z", "\r\n", 2, 2);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:119:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(10, "\\z", "\r\n", 2, 2);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:120:9: warning: passing argument 2 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(11, "a\\z", "a\r\n");
^~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:120:20: warning: passing argument 3 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(11, "a\\z", "a\r\n");
^~~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:121:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(12, "\\Z", "\r\n", 0, 0);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:121:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(12, "\\Z", "\r\n", 0, 0);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:122:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(13, "\\Z", "\r\na", 3, 3);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:122:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(13, "\\Z", "\r\na", 3, 3);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:123:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(14, "\\Z", "\r\n\r\n\n", 4, 4);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:123:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(14, "\\Z", "\r\n\r\n\n", 4, 4);
^~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:124:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(15, "\\Z", "\r\n\r\nX", 5, 5);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:124:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(15, "\\Z", "\r\n\r\nX", 5, 5);
^~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:125:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(16, "a\\Z", "a\r\n", 0, 1);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:125:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(16, "a\\Z", "a\r\n", 0, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:126:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(17, "aaaaaaaaaaaaaaa\\Z", "aaaaaaaaaaaaaaa\r\n", 0, 15);
^~~~~~~~~~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:126:33: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(17, "aaaaaaaaaaaaaaa\\Z", "aaaaaaaaaaaaaaa\r\n", 0, 15);
^~~~~~~~~~~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:127:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(18, "a|$", "b\r\n", 1, 1);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:127:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(18, "a|$", "b\r\n", 1, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:131:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(19, "$|b", "\rb", 1, 2);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:131:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(19, "$|b", "\rb", 1, 2);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:133:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(20, "a$|ab$", "\r\nab\r\n", 2, 4);
^~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:133:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(20, "a$|ab$", "\r\nab\r\n", 2, 4);
^~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:135:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(21, "a|\\Z", "b\r\n", 1, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:135:24: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(21, "a|\\Z", "b\r\n", 1, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:139:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(22, "\\Z|b", "\rb", 1, 2);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:139:24: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(22, "\\Z|b", "\rb", 1, 2);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:141:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(23, "a\\Z|ab\\Z", "\r\nab\r\n", 2, 4);
^~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:141:24: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(23, "a\\Z|ab\\Z", "\r\nab\r\n", 2, 4);
^~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:142:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(24, "(?=a$).", "a\r\n", 0, 1);
^~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:142:24: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(24, "(?=a$).", "a\r\n", 0, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:147:9: warning: passing argument 2 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(25, "(?=a$).", "a\r");
^~~~~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:147:24: warning: passing argument 3 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(25, "(?=a$).", "a\r");
^~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:148:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(26, "(?!a$)..", "a\r", 0, 2);
^~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:148:24: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(26, "(?!a$)..", "a\r", 0, 2);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:151:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(27, "(?<=a$)\\r\\n", "a\r\n", 1, 3);
^~~~~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:151:26: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(27, "(?<=a$)\\r\\n", "a\r\n", 1, 3);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:153:9: warning: passing argument 2 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(28, "(?<!a$)\\r\\n", "a\r\n");
^~~~~~~~~~~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:153:26: warning: passing argument 3 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(28, "(?<!a$)\\r\\n", "a\r\n");
^~~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:154:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(29, "(?=a\\Z).", "a\r\n", 0, 1);
^~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:154:26: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(29, "(?=a\\Z).", "a\r\n", 0, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:159:9: warning: passing argument 2 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(30, "(?=a\\Z).", "a\r");
^~~~~~~~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:159:26: warning: passing argument 3 of ‘f’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f(30, "(?=a\\Z).", "a\r");
^~~~~
crnl.c:98:1: note: expected ‘char *’ but argument is of type ‘const char *’
f(int no, char* pattern_arg, char* str_arg)
^
crnl.c:160:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(31, "(?!a\\Z)..", "a\r", 0, 2);
^~~~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:160:26: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(31, "(?!a\\Z)..", "a\r", 0, 2);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:163:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(32, ".*$", "aa\r\n", 0, 2);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:163:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(32, ".*$", "aa\r\n", 0, 2);
^~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:167:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(33, ".*$", "aa\r", 0, 3);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:167:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(33, ".*$", "aa\r", 0, 3);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:169:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(34, "\\R{3}", "\r\r\n\n", 0, 4);
^~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:169:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(34, "\\R{3}", "\r\r\n\n", 0, 4);
^~~~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:170:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(35, "$", "\n", 0, 0);
^~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:170:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(35, "$", "\n", 0, 0);
^~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:171:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(36, "T$", "T\n", 0, 1);
^~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:171:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(36, "T$", "T\n", 0, 1);
^~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:172:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(37, "(?m).", "\r\n", 0, 1);
^~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:172:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(37, "(?m).", "\r\n", 0, 1);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:173:9: warning: passing argument 2 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(38, "(?m)..", "\r\n", 0, 2);
^~~~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:173:20: warning: passing argument 3 of ‘x’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x(38, "(?m)..", "\r\n", 0, 2);
^~~~~~
crnl.c:85:1: note: expected ‘char *’ but argument is of type ‘const char *’
x(int no, char* pattern_arg, char* str_arg,
^
crnl.c:174:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(39, "^", "\n.", 1, 1, 1, 0);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:174:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(39, "^", "\n.", 1, 1, 1, 0);
^~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:175:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(40, "^", "\r\n.", 1, 2, 2, 0);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:175:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(40, "^", "\r\n.", 1, 2, 2, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:176:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(41, "^", "\r\n.", 2, 2, 2, 0);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:176:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(41, "^", "\r\n.", 2, 2, 2, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:177:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(42, "$", "\n\n", 1, 1, 1, 0);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:177:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(42, "$", "\n\n", 1, 1, 1, 0);
^~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:178:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(43, "$", "\r\n\n", 1, 2, 2, 0);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:178:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(43, "$", "\r\n\n", 1, 2, 2, 0);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:179:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(44, "$", "\r\n\n", 2, 2, 2, 0);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:179:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(44, "$", "\r\n\n", 2, 2, 2, 0);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:183:10: warning: passing argument 2 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(45, "^$", "\n\r", 1, 0);
^~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:183:20: warning: passing argument 3 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(45, "^$", "\n\r", 1, 0);
^~~~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:185:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(46, "^$", "\n\r\n", 1, 1, 1, 0);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:185:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(46, "^$", "\n\r\n", 1, 1, 1, 0);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:186:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(47, "^$", "\r\n\n", 1, 2, 2, 0);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:186:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(47, "^$", "\r\n\n", 1, 2, 2, 0);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:187:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(48, "\\Z", "\r\n\n", 1, 2, 2, 0);
^~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:187:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(48, "\\Z", "\r\n\n", 1, 2, 2, 0);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:188:10: warning: passing argument 2 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(49, ".(?=\\Z)", "\r\n", 1, 0);
^~~~~~~~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:188:22: warning: passing argument 3 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(49, ".(?=\\Z)", "\r\n", 1, 0);
^~~~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:189:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(50, "(?=\\Z)", "\r\n", 1, 2, 2, 0);
^~~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:189:21: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(50, "(?=\\Z)", "\r\n", 1, 2, 2, 0);
^~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:190:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(51, "(?<=^).", "\r\n.", 0, 2, 3, 0);
^~~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:190:21: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(51, "(?<=^).", "\r\n.", 0, 2, 3, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:191:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(52, "(?<=^).", "\r\n.", 1, 2, 3, 0);
^~~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:191:21: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(52, "(?<=^).", "\r\n.", 1, 2, 3, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:192:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(53, "(?<=^).", "\r\n.", 2, 2, 3, 0);
^~~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:192:21: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(53, "(?<=^).", "\r\n.", 2, 2, 3, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:193:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(54, "^a", "\r\na", 0, 2, 3, 0);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:193:21: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(54, "^a", "\r\na", 0, 2, 3, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:194:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(55, "^a", "\r\na", 1, 2, 3, 0);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:194:21: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(55, "^a", "\r\na", 1, 2, 3, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:195:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(56, "(?m)$.{1,2}a", "\r\na", 0, 0, 3, 0);
^~~~~~~~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:195:26: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(56, "(?m)$.{1,2}a", "\r\na", 0, 0, 3, 0);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:196:10: warning: passing argument 2 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(57, "(?m)$.{1,2}a", "\r\na", 1, 0);
^~~~~~~~~~~~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:196:26: warning: passing argument 3 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(57, "(?m)$.{1,2}a", "\r\na", 1, 0);
^~~~~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:197:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(58, ".*b", "\r\naaab\r\n", 1, 2, 6, 0);
^~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:197:22: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(58, ".*b", "\r\naaab\r\n", 1, 2, 6, 0);
^~~~~~~~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:201:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(60, "$", "\n\n", -1, 1, 1, 1);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:201:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(60, "$", "\n\n", -1, 1, 1, 1);
^~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:202:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(61, "$", "\n\r\n", -1, 1, 1, 1);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:202:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(61, "$", "\n\r\n", -1, 1, 1, 1);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:203:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(62, "$", "\n\r\n", -2, 1, 1, 1);
^~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:203:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(62, "$", "\n\r\n", -2, 1, 1, 1);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:204:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(63, "^$", "\n\r\n", -1, 1, 1, 1);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:204:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(63, "^$", "\n\r\n", -1, 1, 1, 1);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:205:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(64, "^$", "\n\r\n", 0, 1, 1, 1);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:205:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(64, "^$", "\n\r\n", 0, 1, 1, 1);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:206:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(65, "^$", "\r\n\n", 0, 2, 2, 1);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:206:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(65, "^$", "\r\n\n", 0, 2, 2, 1);
^~~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:207:10: warning: passing argument 2 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(66, "^a", "\r\na", 0, 2, 3, 1);
^~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:207:20: warning: passing argument 3 of ‘x0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
x0(66, "^a", "\r\na", 0, 2, 3, 1);
^~~~~~~
crnl.c:32:1: note: expected ‘char *’ but argument is of type ‘const char *’
x0(int no, char* pattern_arg, char* str_arg,
^~
crnl.c:209:10: warning: passing argument 2 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(67, "^a", "\r\na", -1, 1); /* This should not match after the fix of Issue #22. */
^~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:209:20: warning: passing argument 3 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(67, "^a", "\r\na", -1, 1); /* This should not match after the fix of Issue #22. */
^~~~~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:210:10: warning: passing argument 2 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(68, "^a", "\r\na", -2, 1);
^~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
crnl.c:210:20: warning: passing argument 3 of ‘f0’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
f0(68, "^a", "\r\na", -2, 1);
^~~~~~~
crnl.c:92:1: note: expected ‘char *’ but argument is of type ‘const char *’
f0(int no, char* pattern_arg, char* str_arg, int start_offset, int backward)
^~
libtool: link: /usr/bin/cc -std=gnu99 -g -O3 -Wall -Wundef -Werror-implicit-function-declaration -Wwrite-strings -g -O2 -o crnl crnl.o ../.libs/libonigmo.a
CPP ../mruby-onig-regexp/src/mruby_onig_regexp.c -> ../../build/mruby/host/mrbgems/mruby-onig-regexp/src/mruby_onig_regexp.pi
GEN ../../build/mruby/host/mrbgems/mruby-onig-regexp/gem_init.c
MRBC ../mruby-onig-regexp/mrblib/onig_regexp.rb
CPP ../../build/mruby/host/mrbgems/mruby-onig-regexp/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-onig-regexp/gem_init.pi
CPP mrbgems/mruby-objectspace/src/mruby_objectspace.c -> ../../build/mruby/host/mrbgems/mruby-objectspace/src/mruby_objectspace.pi
GEN ../../build/mruby/host/mrbgems/mruby-objectspace/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-objectspace/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-objectspace/gem_init.pi
CPP mrbgems/mruby-proc-binding/src/proc-binding.c -> ../../build/mruby/host/mrbgems/mruby-proc-binding/src/proc-binding.pi
GEN ../../build/mruby/host/mrbgems/mruby-proc-binding/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-proc-binding/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-proc-binding/gem_init.pi
CPP mrbgems/mruby-complex/src/complex.c -> ../../build/mruby/host/mrbgems/mruby-complex/src/complex.pi
GEN ../../build/mruby/host/mrbgems/mruby-complex/gem_init.c
MRBC mrbgems/mruby-complex/mrblib/complex.rb
CPP ../../build/mruby/host/mrbgems/mruby-complex/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-complex/gem_init.pi
CPP mrbgems/mruby-binding-core/src/binding-core.c -> ../../build/mruby/host/mrbgems/mruby-binding-core/src/binding-core.pi
GEN ../../build/mruby/host/mrbgems/mruby-binding-core/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-binding-core/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-binding-core/gem_init.pi
CPP mrbgems/mruby-array-ext/src/array.c -> ../../build/mruby/host/mrbgems/mruby-array-ext/src/array.pi
GEN ../../build/mruby/host/mrbgems/mruby-array-ext/gem_init.c
MRBC mrbgems/mruby-array-ext/mrblib/array.rb
CPP ../../build/mruby/host/mrbgems/mruby-array-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-array-ext/gem_init.pi
CPP mrbgems/mruby-hash-ext/src/hash-ext.c -> ../../build/mruby/host/mrbgems/mruby-hash-ext/src/hash-ext.pi
GEN ../../build/mruby/host/mrbgems/mruby-hash-ext/gem_init.c
MRBC mrbgems/mruby-hash-ext/mrblib/hash.rb
CPP ../../build/mruby/host/mrbgems/mruby-hash-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-hash-ext/gem_init.pi
CPP mrbgems/mruby-metaprog/src/metaprog.c -> ../../build/mruby/host/mrbgems/mruby-metaprog/src/metaprog.pi
GEN ../../build/mruby/host/mrbgems/mruby-metaprog/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-metaprog/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-metaprog/gem_init.pi
CPP mrbgems/mruby-rational/src/rational.c -> ../../build/mruby/host/mrbgems/mruby-rational/src/rational.pi
GEN ../../build/mruby/host/mrbgems/mruby-rational/gem_init.c
MRBC mrbgems/mruby-rational/mrblib/rational.rb
CPP ../../build/mruby/host/mrbgems/mruby-rational/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-rational/gem_init.pi
CPP mrbgems/mruby-time/src/time.c -> ../../build/mruby/host/mrbgems/mruby-time/src/time.pi
GEN ../../build/mruby/host/mrbgems/mruby-time/gem_init.c
MRBC mrbgems/mruby-time/mrblib/time.rb
CPP ../../build/mruby/host/mrbgems/mruby-time/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-time/gem_init.pi
CPP mrbgems/mruby-os-memsize/src/memsize.c -> ../../build/mruby/host/mrbgems/mruby-os-memsize/src/memsize.pi
GEN ../../build/mruby/host/mrbgems/mruby-os-memsize/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-os-memsize/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-os-memsize/gem_init.pi
CPP mrbgems/mruby-io/src/file_test.c -> ../../build/mruby/host/mrbgems/mruby-io/src/file_test.pi
CPP mrbgems/mruby-io/src/io.c -> ../../build/mruby/host/mrbgems/mruby-io/src/io.pi
CPP mrbgems/mruby-io/src/mruby_io_gem.c -> ../../build/mruby/host/mrbgems/mruby-io/src/mruby_io_gem.pi
CPP mrbgems/mruby-io/src/file.c -> ../../build/mruby/host/mrbgems/mruby-io/src/file.pi
GEN ../../build/mruby/host/mrbgems/mruby-io/gem_init.c
MRBC mrbgems/mruby-io/mrblib/file.rb
mrbgems/mruby-io/mrblib/file_constants.rb
mrbgems/mruby-io/mrblib/io.rb
mrbgems/mruby-io/mrblib/kernel.rb
CPP ../../build/mruby/host/mrbgems/mruby-io/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-io/gem_init.pi
CPP mrbgems/mruby-catch/src/catch.c -> ../../build/mruby/host/mrbgems/mruby-catch/src/catch.pi
GEN ../../build/mruby/host/mrbgems/mruby-catch/gem_init.c
MRBC mrbgems/mruby-catch/mrblib/catch.rb
CPP ../../build/mruby/host/mrbgems/mruby-catch/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-catch/gem_init.pi
CPP mrbgems/mruby-error/src/exception.c -> ../../build/mruby/host/mrbgems/mruby-error/src/exception.pi
GEN ../../build/mruby/host/mrbgems/mruby-error/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-error/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-error/gem_init.pi
CPP mrbgems/mruby-string-ext/src/string.c -> ../../build/mruby/host/mrbgems/mruby-string-ext/src/string.pi
GEN ../../build/mruby/host/mrbgems/mruby-string-ext/gem_init.c
MRBC mrbgems/mruby-string-ext/mrblib/string.rb
CPP ../../build/mruby/host/mrbgems/mruby-string-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-string-ext/gem_init.pi
CPP mrbgems/mruby-kernel-ext/src/kernel.c -> ../../build/mruby/host/mrbgems/mruby-kernel-ext/src/kernel.pi
GEN ../../build/mruby/host/mrbgems/mruby-kernel-ext/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-kernel-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-kernel-ext/gem_init.pi
CPP mrbgems/mruby-cmath/src/cmath.c -> ../../build/mruby/host/mrbgems/mruby-cmath/src/cmath.pi
GEN ../../build/mruby/host/mrbgems/mruby-cmath/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-cmath/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-cmath/gem_init.pi
CPP mrbgems/mruby-exit/src/mruby-exit.c -> ../../build/mruby/host/mrbgems/mruby-exit/src/mruby-exit.pi
GEN ../../build/mruby/host/mrbgems/mruby-exit/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-exit/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-exit/gem_init.pi
CPP mrbgems/mruby-class-ext/src/class.c -> ../../build/mruby/host/mrbgems/mruby-class-ext/src/class.pi
GEN ../../build/mruby/host/mrbgems/mruby-class-ext/gem_init.c
MRBC mrbgems/mruby-class-ext/mrblib/module.rb
CPP ../../build/mruby/host/mrbgems/mruby-class-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-class-ext/gem_init.pi
CPP mrbgems/mruby-pack/src/pack.c -> ../../build/mruby/host/mrbgems/mruby-pack/src/pack.pi
GEN ../../build/mruby/host/mrbgems/mruby-pack/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-pack/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-pack/gem_init.pi
CPP mrbgems/mruby-random/src/random.c -> ../../build/mruby/host/mrbgems/mruby-random/src/random.pi
GEN ../../build/mruby/host/mrbgems/mruby-random/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-random/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-random/gem_init.pi
GEN ../../build/mruby/host/mrbgems/mruby-enumerator/gem_init.c
MRBC mrbgems/mruby-enumerator/mrblib/enumerator.rb
CPP ../../build/mruby/host/mrbgems/mruby-enumerator/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enumerator/gem_init.pi
CPP mrbgems/mruby-eval/src/eval.c -> ../../build/mruby/host/mrbgems/mruby-eval/src/eval.pi
GEN ../../build/mruby/host/mrbgems/mruby-eval/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-eval/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-eval/gem_init.pi
CPP mrbgems/mruby-sprintf/src/sprintf.c -> ../../build/mruby/host/mrbgems/mruby-sprintf/src/sprintf.pi
GEN ../../build/mruby/host/mrbgems/mruby-sprintf/gem_init.c
MRBC mrbgems/mruby-sprintf/mrblib/string.rb
CPP ../../build/mruby/host/mrbgems/mruby-sprintf/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-sprintf/gem_init.pi
CPP mrbgems/mruby-object-ext/src/object.c -> ../../build/mruby/host/mrbgems/mruby-object-ext/src/object.pi
GEN ../../build/mruby/host/mrbgems/mruby-object-ext/gem_init.c
MRBC mrbgems/mruby-object-ext/mrblib/object.rb
CPP ../../build/mruby/host/mrbgems/mruby-object-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-object-ext/gem_init.pi
CPP mrbgems/mruby-math/src/math.c -> ../../build/mruby/host/mrbgems/mruby-math/src/math.pi
GEN ../../build/mruby/host/mrbgems/mruby-math/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-math/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-math/gem_init.pi
CPP mrbgems/mruby-sleep/src/sleep.c -> ../../build/mruby/host/mrbgems/mruby-sleep/src/sleep.pi
GEN ../../build/mruby/host/mrbgems/mruby-sleep/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-sleep/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-sleep/gem_init.pi
CPP mrbgems/mruby-print/src/print.c -> ../../build/mruby/host/mrbgems/mruby-print/src/print.pi
GEN ../../build/mruby/host/mrbgems/mruby-print/gem_init.c
MRBC mrbgems/mruby-print/mrblib/print.rb
CPP ../../build/mruby/host/mrbgems/mruby-print/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-print/gem_init.pi
CPP mrbgems/mruby-socket/src/socket.c -> ../../build/mruby/host/mrbgems/mruby-socket/src/socket.pi
GEN ../../build/mruby/host/mrbgems/mruby-socket/gem_init.c
MRBC mrbgems/mruby-socket/mrblib/socket.rb
CPP ../../build/mruby/host/mrbgems/mruby-socket/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-socket/gem_init.pi
CPP mrbgems/mruby-binding/src/binding.c -> ../../build/mruby/host/mrbgems/mruby-binding/src/binding.pi
GEN ../../build/mruby/host/mrbgems/mruby-binding/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-binding/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-binding/gem_init.pi
CPP mrbgems/mruby-struct/src/struct.c -> ../../build/mruby/host/mrbgems/mruby-struct/src/struct.pi
GEN ../../build/mruby/host/mrbgems/mruby-struct/gem_init.c
MRBC mrbgems/mruby-struct/mrblib/struct.rb
CPP ../../build/mruby/host/mrbgems/mruby-struct/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-struct/gem_init.pi
GEN ../../build/mruby/host/mrbgems/mruby-enum-chain/gem_init.c
MRBC mrbgems/mruby-enum-chain/mrblib/chain.rb
CPP ../../build/mruby/host/mrbgems/mruby-enum-chain/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enum-chain/gem_init.pi
GEN ../../build/mruby/host/mrbgems/mruby-enum-lazy/gem_init.c
MRBC mrbgems/mruby-enum-lazy/mrblib/lazy.rb
CPP ../../build/mruby/host/mrbgems/mruby-enum-lazy/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enum-lazy/gem_init.pi
CPP mrbgems/mruby-symbol-ext/src/symbol.c -> ../../build/mruby/host/mrbgems/mruby-symbol-ext/src/symbol.pi
GEN ../../build/mruby/host/mrbgems/mruby-symbol-ext/gem_init.c
MRBC mrbgems/mruby-symbol-ext/mrblib/symbol.rb
CPP ../../build/mruby/host/mrbgems/mruby-symbol-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-symbol-ext/gem_init.pi
GEN ../../build/mruby/host/mrbgems/mruby-enum-ext/gem_init.c
MRBC mrbgems/mruby-enum-ext/mrblib/enum.rb
CPP ../../build/mruby/host/mrbgems/mruby-enum-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enum-ext/gem_init.pi
CPP mrbgems/mruby-proc-ext/src/proc.c -> ../../build/mruby/host/mrbgems/mruby-proc-ext/src/proc.pi
GEN ../../build/mruby/host/mrbgems/mruby-proc-ext/gem_init.c
MRBC mrbgems/mruby-proc-ext/mrblib/proc.rb
CPP ../../build/mruby/host/mrbgems/mruby-proc-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-proc-ext/gem_init.pi
CPP mrbgems/mruby-range-ext/src/range.c -> ../../build/mruby/host/mrbgems/mruby-range-ext/src/range.pi
GEN ../../build/mruby/host/mrbgems/mruby-range-ext/gem_init.c
MRBC mrbgems/mruby-range-ext/mrblib/range.rb
CPP ../../build/mruby/host/mrbgems/mruby-range-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-range-ext/gem_init.pi
CPP mrbgems/mruby-numeric-ext/src/numeric_ext.c -> ../../build/mruby/host/mrbgems/mruby-numeric-ext/src/numeric_ext.pi
GEN ../../build/mruby/host/mrbgems/mruby-numeric-ext/gem_init.c
MRBC mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb
CPP ../../build/mruby/host/mrbgems/mruby-numeric-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-numeric-ext/gem_init.pi
GEN ../../build/mruby/host/mrbgems/mruby-toplevel-ext/gem_init.c
MRBC mrbgems/mruby-toplevel-ext/mrblib/toplevel.rb
CPP ../../build/mruby/host/mrbgems/mruby-toplevel-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-toplevel-ext/gem_init.pi
CPP mrbgems/mruby-fiber/src/fiber.c -> ../../build/mruby/host/mrbgems/mruby-fiber/src/fiber.pi
GEN ../../build/mruby/host/mrbgems/mruby-fiber/gem_init.c
CPP ../../build/mruby/host/mrbgems/mruby-fiber/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-fiber/gem_init.pi
GEN ../../build/mruby/host/mrbgems/mruby-compar-ext/gem_init.c
MRBC mrbgems/mruby-compar-ext/mrblib/compar.rb
CPP ../../build/mruby/host/mrbgems/mruby-compar-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-compar-ext/gem_init.pi
CPP mrbgems/mruby-method/src/method.c -> ../../build/mruby/host/mrbgems/mruby-method/src/method.pi
GEN ../../build/mruby/host/mrbgems/mruby-method/gem_init.c
MRBC mrbgems/mruby-method/mrblib/kernel.rb
mrbgems/mruby-method/mrblib/method.rb
CPP ../../build/mruby/host/mrbgems/mruby-method/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-method/gem_init.pi
CPP ../../build/mruby/host/mrbgems/gem_init.c -> ../../build/mruby/host/mrbgems/gem_init.pi
CPP mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c -> ../../build/mruby/host/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.pi
CPP mrbgems/mruby-bin-mrbc/tools/mrbc/stub.c -> ../../build/mruby/host/mrbgems/mruby-bin-mrbc/tools/mrbc/stub.pi
CPP mrbgems/mruby-bin-mruby/tools/mruby/mruby.c -> ../../build/mruby/host/mrbgems/mruby-bin-mruby/tools/mruby/mruby.pi
CPP mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c -> ../../build/mruby/host/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.pi
CPP mrbgems/mruby-bin-mirb/tools/mirb/mirb.c -> ../../build/mruby/host/mrbgems/mruby-bin-mirb/tools/mirb/mirb.pi
GEN ../../build/mruby/host/presym
GEN ../../build/mruby/host/include/mruby/presym/id.h
GEN ../../build/mruby/host/include/mruby/presym/table.h
CC src/debug.c -> ../../build/mruby/host/src/debug.o
CC src/array.c -> ../../build/mruby/host/src/array.o
CC src/load.c -> ../../build/mruby/host/src/load.o
CC src/symbol.c -> ../../build/mruby/host/src/symbol.o
CC src/compar.c -> ../../build/mruby/host/src/compar.o
CC src/readint.c -> ../../build/mruby/host/src/readint.o
CC src/gc.c -> ../../build/mruby/host/src/gc.o
CC src/readflt.c -> ../../build/mruby/host/src/readflt.o
CC src/numeric.c -> ../../build/mruby/host/src/numeric.o
CC src/init.c -> ../../build/mruby/host/src/init.o
CC src/fmt_fp.c -> ../../build/mruby/host/src/fmt_fp.o
CC src/dump.c -> ../../build/mruby/host/src/dump.o
CC src/numops.c -> ../../build/mruby/host/src/numops.o
CC src/range.c -> ../../build/mruby/host/src/range.o
CC src/pool.c -> ../../build/mruby/host/src/pool.o
CC src/object.c -> ../../build/mruby/host/src/object.o
CC src/hash.c -> ../../build/mruby/host/src/hash.o
CC src/string.c -> ../../build/mruby/host/src/string.o
CC src/kernel.c -> ../../build/mruby/host/src/kernel.o
CC src/version.c -> ../../build/mruby/host/src/version.o
CC src/vm.c -> ../../build/mruby/host/src/vm.o
CC src/error.c -> ../../build/mruby/host/src/error.o
CC src/variable.c -> ../../build/mruby/host/src/variable.o
CC src/codedump.c -> ../../build/mruby/host/src/codedump.o
CC src/enum.c -> ../../build/mruby/host/src/enum.o
CC src/state.c -> ../../build/mruby/host/src/state.o
CC src/backtrace.c -> ../../build/mruby/host/src/backtrace.o
CC src/etc.c -> ../../build/mruby/host/src/etc.o
CC src/proc.c -> ../../build/mruby/host/src/proc.o
CC src/print.c -> ../../build/mruby/host/src/print.o
CC src/cdump.c -> ../../build/mruby/host/src/cdump.o
CC src/class.c -> ../../build/mruby/host/src/class.o
CC mrbgems/mruby-bigint/core/bigint.c -> ../../build/mruby/host/mrbgems/mruby-bigint/core/bigint.o
CC mrbgems/mruby-compiler/core/codegen.c -> ../../build/mruby/host/mrbgems/mruby-compiler/core/codegen.o
CC mrbgems/mruby-compiler/core/y.tab.c -> ../../build/mruby/host/mrbgems/mruby-compiler/core/y.tab.o
AR ../../build/mruby/host/lib/libmruby_core.a
ar: /home/msmhrt/repository/h2o/build/mruby/host/lib/libmruby_core.a を作成しています
CC ../../build/mruby/host/mrblib/mrblib.c -> ../../build/mruby/host/mrblib/mrblib.o
CC ../mruby-input-stream/src/mruby_input_stream.c -> ../../build/mruby/host/mrbgems/mruby-input-stream/src/mruby_input_stream.o
CC ../../build/mruby/host/mrbgems/mruby-input-stream/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-input-stream/gem_init.o
CC ../mruby-digest/src/digest.c -> ../../build/mruby/host/mrbgems/mruby-digest/src/digest.o
CC ../../build/mruby/host/mrbgems/mruby-digest/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-digest/gem_init.o
CC ../mruby-require/src/require.c -> ../../build/mruby/host/mrbgems/mruby-require/src/require.o
/home/msmhrt/repository/h2o/deps/mruby-require/src/require.c: In function ‘compile_rb2mrb’:
/home/msmhrt/repository/h2o/deps/mruby-require/src/require.c:92:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
irep = mrb_proc_ptr(result)->body.irep;
^
CC ../../build/mruby/host/mrbgems/mruby-require/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-require/gem_init.o
CC ../mruby-dir/src/dir.c -> ../../build/mruby/host/mrbgems/mruby-dir/src/dir.o
CC ../../build/mruby/host/mrbgems/mruby-dir/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-dir/gem_init.o
CC ../mruby-file-stat/src/file-stat.c -> ../../build/mruby/host/mrbgems/mruby-file-stat/src/file-stat.o
CC ../../build/mruby/host/mrbgems/mruby-file-stat/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-file-stat/gem_init.o
CC ../mruby-json/src/mrb_json.c -> ../../build/mruby/host/mrbgems/mruby-json/src/mrb_json.o
CC ../mruby-json/src/parson.c -> ../../build/mruby/host/mrbgems/mruby-json/src/parson.o
CC ../../build/mruby/host/mrbgems/mruby-json/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-json/gem_init.o
CC ../mruby-env/src/env.c -> ../../build/mruby/host/mrbgems/mruby-env/src/env.o
CC ../../build/mruby/host/mrbgems/mruby-env/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-env/gem_init.o
CC mrbgems/mruby-errno/src/errno.c -> ../../build/mruby/host/mrbgems/mruby-errno/src/errno.o
CC ../../build/mruby/host/mrbgems/mruby-errno/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-errno/gem_init.o
CC ../mruby-class-new-fiber-safe/src/class-new-fiber-safe.c -> ../../build/mruby/host/mrbgems/mruby-class-new-fiber-safe/src/class-new-fiber-safe.o
CC ../../build/mruby/host/mrbgems/mruby-class-new-fiber-safe/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-class-new-fiber-safe/gem_init.o
CC ../mruby-onig-regexp/src/mruby_onig_regexp.c -> ../../build/mruby/host/mrbgems/mruby-onig-regexp/src/mruby_onig_regexp.o
CC ../../build/mruby/host/mrbgems/mruby-onig-regexp/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-onig-regexp/gem_init.o
CC mrbgems/mruby-objectspace/src/mruby_objectspace.c -> ../../build/mruby/host/mrbgems/mruby-objectspace/src/mruby_objectspace.o
CC ../../build/mruby/host/mrbgems/mruby-objectspace/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-objectspace/gem_init.o
CC mrbgems/mruby-proc-binding/src/proc-binding.c -> ../../build/mruby/host/mrbgems/mruby-proc-binding/src/proc-binding.o
CC ../../build/mruby/host/mrbgems/mruby-proc-binding/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-proc-binding/gem_init.o
CC mrbgems/mruby-complex/src/complex.c -> ../../build/mruby/host/mrbgems/mruby-complex/src/complex.o
CC ../../build/mruby/host/mrbgems/mruby-complex/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-complex/gem_init.o
CC mrbgems/mruby-binding-core/src/binding-core.c -> ../../build/mruby/host/mrbgems/mruby-binding-core/src/binding-core.o
CC ../../build/mruby/host/mrbgems/mruby-binding-core/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-binding-core/gem_init.o
CC mrbgems/mruby-array-ext/src/array.c -> ../../build/mruby/host/mrbgems/mruby-array-ext/src/array.o
CC ../../build/mruby/host/mrbgems/mruby-array-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-array-ext/gem_init.o
CC mrbgems/mruby-hash-ext/src/hash-ext.c -> ../../build/mruby/host/mrbgems/mruby-hash-ext/src/hash-ext.o
CC ../../build/mruby/host/mrbgems/mruby-hash-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-hash-ext/gem_init.o
CC mrbgems/mruby-metaprog/src/metaprog.c -> ../../build/mruby/host/mrbgems/mruby-metaprog/src/metaprog.o
CC ../../build/mruby/host/mrbgems/mruby-metaprog/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-metaprog/gem_init.o
CC mrbgems/mruby-rational/src/rational.c -> ../../build/mruby/host/mrbgems/mruby-rational/src/rational.o
CC ../../build/mruby/host/mrbgems/mruby-rational/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-rational/gem_init.o
CC mrbgems/mruby-time/src/time.c -> ../../build/mruby/host/mrbgems/mruby-time/src/time.o
CC ../../build/mruby/host/mrbgems/mruby-time/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-time/gem_init.o
CC mrbgems/mruby-os-memsize/src/memsize.c -> ../../build/mruby/host/mrbgems/mruby-os-memsize/src/memsize.o
CC ../../build/mruby/host/mrbgems/mruby-os-memsize/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-os-memsize/gem_init.o
CC mrbgems/mruby-io/src/file_test.c -> ../../build/mruby/host/mrbgems/mruby-io/src/file_test.o
CC mrbgems/mruby-io/src/io.c -> ../../build/mruby/host/mrbgems/mruby-io/src/io.o
CC mrbgems/mruby-io/src/mruby_io_gem.c -> ../../build/mruby/host/mrbgems/mruby-io/src/mruby_io_gem.o
CC mrbgems/mruby-io/src/file.c -> ../../build/mruby/host/mrbgems/mruby-io/src/file.o
CC ../../build/mruby/host/mrbgems/mruby-io/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-io/gem_init.o
CC mrbgems/mruby-catch/src/catch.c -> ../../build/mruby/host/mrbgems/mruby-catch/src/catch.o
CC ../../build/mruby/host/mrbgems/mruby-catch/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-catch/gem_init.o
CC mrbgems/mruby-error/src/exception.c -> ../../build/mruby/host/mrbgems/mruby-error/src/exception.o
CC ../../build/mruby/host/mrbgems/mruby-error/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-error/gem_init.o
CC mrbgems/mruby-string-ext/src/string.c -> ../../build/mruby/host/mrbgems/mruby-string-ext/src/string.o
CC ../../build/mruby/host/mrbgems/mruby-string-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-string-ext/gem_init.o
CC mrbgems/mruby-kernel-ext/src/kernel.c -> ../../build/mruby/host/mrbgems/mruby-kernel-ext/src/kernel.o
CC ../../build/mruby/host/mrbgems/mruby-kernel-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-kernel-ext/gem_init.o
CC mrbgems/mruby-cmath/src/cmath.c -> ../../build/mruby/host/mrbgems/mruby-cmath/src/cmath.o
CC ../../build/mruby/host/mrbgems/mruby-cmath/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-cmath/gem_init.o
CC mrbgems/mruby-exit/src/mruby-exit.c -> ../../build/mruby/host/mrbgems/mruby-exit/src/mruby-exit.o
CC ../../build/mruby/host/mrbgems/mruby-exit/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-exit/gem_init.o
CC mrbgems/mruby-class-ext/src/class.c -> ../../build/mruby/host/mrbgems/mruby-class-ext/src/class.o
CC ../../build/mruby/host/mrbgems/mruby-class-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-class-ext/gem_init.o
CC mrbgems/mruby-pack/src/pack.c -> ../../build/mruby/host/mrbgems/mruby-pack/src/pack.o
CC ../../build/mruby/host/mrbgems/mruby-pack/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-pack/gem_init.o
CC mrbgems/mruby-random/src/random.c -> ../../build/mruby/host/mrbgems/mruby-random/src/random.o
CC ../../build/mruby/host/mrbgems/mruby-random/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-random/gem_init.o
CC ../../build/mruby/host/mrbgems/mruby-enumerator/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enumerator/gem_init.o
CC mrbgems/mruby-eval/src/eval.c -> ../../build/mruby/host/mrbgems/mruby-eval/src/eval.o
CC ../../build/mruby/host/mrbgems/mruby-eval/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-eval/gem_init.o
CC mrbgems/mruby-sprintf/src/sprintf.c -> ../../build/mruby/host/mrbgems/mruby-sprintf/src/sprintf.o
CC ../../build/mruby/host/mrbgems/mruby-sprintf/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-sprintf/gem_init.o
CC mrbgems/mruby-object-ext/src/object.c -> ../../build/mruby/host/mrbgems/mruby-object-ext/src/object.o
CC ../../build/mruby/host/mrbgems/mruby-object-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-object-ext/gem_init.o
CC mrbgems/mruby-math/src/math.c -> ../../build/mruby/host/mrbgems/mruby-math/src/math.o
CC ../../build/mruby/host/mrbgems/mruby-math/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-math/gem_init.o
CC mrbgems/mruby-sleep/src/sleep.c -> ../../build/mruby/host/mrbgems/mruby-sleep/src/sleep.o
CC ../../build/mruby/host/mrbgems/mruby-sleep/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-sleep/gem_init.o
CC mrbgems/mruby-print/src/print.c -> ../../build/mruby/host/mrbgems/mruby-print/src/print.o
CC ../../build/mruby/host/mrbgems/mruby-print/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-print/gem_init.o
CC mrbgems/mruby-socket/src/socket.c -> ../../build/mruby/host/mrbgems/mruby-socket/src/socket.o
CC ../../build/mruby/host/mrbgems/mruby-socket/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-socket/gem_init.o
CC mrbgems/mruby-binding/src/binding.c -> ../../build/mruby/host/mrbgems/mruby-binding/src/binding.o
CC ../../build/mruby/host/mrbgems/mruby-binding/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-binding/gem_init.o
CC mrbgems/mruby-struct/src/struct.c -> ../../build/mruby/host/mrbgems/mruby-struct/src/struct.o
CC ../../build/mruby/host/mrbgems/mruby-struct/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-struct/gem_init.o
CC ../../build/mruby/host/mrbgems/mruby-enum-chain/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enum-chain/gem_init.o
CC ../../build/mruby/host/mrbgems/mruby-enum-lazy/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enum-lazy/gem_init.o
CC mrbgems/mruby-symbol-ext/src/symbol.c -> ../../build/mruby/host/mrbgems/mruby-symbol-ext/src/symbol.o
CC ../../build/mruby/host/mrbgems/mruby-symbol-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-symbol-ext/gem_init.o
CC ../../build/mruby/host/mrbgems/mruby-enum-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-enum-ext/gem_init.o
CC mrbgems/mruby-proc-ext/src/proc.c -> ../../build/mruby/host/mrbgems/mruby-proc-ext/src/proc.o
CC ../../build/mruby/host/mrbgems/mruby-proc-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-proc-ext/gem_init.o
CC mrbgems/mruby-range-ext/src/range.c -> ../../build/mruby/host/mrbgems/mruby-range-ext/src/range.o
CC ../../build/mruby/host/mrbgems/mruby-range-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-range-ext/gem_init.o
CC mrbgems/mruby-numeric-ext/src/numeric_ext.c -> ../../build/mruby/host/mrbgems/mruby-numeric-ext/src/numeric_ext.o
CC ../../build/mruby/host/mrbgems/mruby-numeric-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-numeric-ext/gem_init.o
CC ../../build/mruby/host/mrbgems/mruby-toplevel-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-toplevel-ext/gem_init.o
CC mrbgems/mruby-fiber/src/fiber.c -> ../../build/mruby/host/mrbgems/mruby-fiber/src/fiber.o
CC ../../build/mruby/host/mrbgems/mruby-fiber/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-fiber/gem_init.o
CC ../../build/mruby/host/mrbgems/mruby-compar-ext/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-compar-ext/gem_init.o
CC mrbgems/mruby-method/src/method.c -> ../../build/mruby/host/mrbgems/mruby-method/src/method.o
CC ../../build/mruby/host/mrbgems/mruby-method/gem_init.c -> ../../build/mruby/host/mrbgems/mruby-method/gem_init.o
CC ../../build/mruby/host/mrbgems/gem_init.c -> ../../build/mruby/host/mrbgems/gem_init.o
AR ../../build/mruby/host/lib/libmruby.a
ar: /home/msmhrt/repository/h2o/build/mruby/host/lib/libmruby.a を作成しています
INSTALL ../../build/mruby/host/bin/mruby-config -> bin/mruby-config
CC mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c -> ../../build/mruby/host/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.o
CC mrbgems/mruby-bin-mrbc/tools/mrbc/stub.c -> ../../build/mruby/host/mrbgems/mruby-bin-mrbc/tools/mrbc/stub.o
LD ../../build/mruby/host/bin/mrbc
INSTALL ../../build/mruby/host/bin/mrbc -> bin/mrbc
CC mrbgems/mruby-bin-mruby/tools/mruby/mruby.c -> ../../build/mruby/host/mrbgems/mruby-bin-mruby/tools/mruby/mruby.o
LD ../../build/mruby/host/bin/mruby
INSTALL ../../build/mruby/host/bin/mruby -> bin/mruby
CC mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c -> ../../build/mruby/host/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.o
LD ../../build/mruby/host/bin/mruby-strip
INSTALL ../../build/mruby/host/bin/mruby-strip -> bin/mruby-strip
CC mrbgems/mruby-bin-mirb/tools/mirb/mirb.c -> ../../build/mruby/host/mrbgems/mruby-bin-mirb/tools/mirb/mirb.o
LD ../../build/mruby/host/bin/mirb
INSTALL ../../build/mruby/host/bin/mirb -> bin/mirb
Build summary:
================================================
Config Name: host
Output Directory: ../../build/mruby/host
Binaries: mruby-config, mrbc
Included Gems:
mruby-array-ext - Array class extension
mruby-bigint - Integer class extension to multiple-precision
mruby-bin-config - mruby-config command
mruby-bin-mirb - mirb command
- Binaries: mirb
mruby-bin-mrbc - mruby compiler executable
mruby-bin-mruby - mruby command
- Binaries: mruby
mruby-bin-strip - irep dump debug section remover command
- Binaries: mruby-strip
mruby-binding - Binding class
mruby-binding-core - Binding class (core features only)
mruby-catch - Catch / Throw non-local Jump
mruby-class-ext - class/module extension
mruby-class-new-fiber-safe - 0.0.1 - Class#new that allows use of fiber in constructor
mruby-cmath - standard Math module with complex
mruby-compar-ext - Comparable module extension
mruby-compiler - mruby compiler library
mruby-complex - Complex class
mruby-digest
mruby-dir
mruby-enum-chain - Enumerator::Chain class
mruby-enum-ext - Enumerable module extension
mruby-enum-lazy - Enumerator::Lazy class
mruby-enumerator - Enumerator class
mruby-env
mruby-errno
mruby-error - extensional error handling
mruby-eval - standard Kernel#eval method
mruby-exit - Kernel#exit method
mruby-fiber - Fiber class
mruby-file-stat
mruby-hash-ext - Hash class extension
mruby-input-stream - 1.0.1 - InputStream class for Rack
mruby-io - IO and File class
mruby-json
mruby-kernel-ext - extensional function-like methods
mruby-math - standard Math module
mruby-metaprog - Meta-programming features for mruby
mruby-method - Method and UnboundMethod class
mruby-numeric-ext - Numeric class extension
mruby-object-ext - extensional methods shared by all objects
mruby-objectspace - ObjectSpace class
mruby-onig-regexp
mruby-os-memsize - ObjectSpace memsize_of method
mruby-pack - Array#pack and String#unpack method
mruby-print - standard print/puts/p
mruby-proc-binding - Proc#binding method
mruby-proc-ext - Proc class extension
mruby-random - Random class
mruby-range-ext - Range class extension
mruby-rational - Rational class
mruby-require
mruby-sleep - Kernel#sleep and Kernel#usleep
mruby-socket - standard socket class
mruby-sprintf - standard Kernel#sprintf method
mruby-string-ext - String class extension
mruby-struct - standard Struct class
mruby-symbol-ext - Symbol class extension
mruby-test-inline-struct - inline structure
mruby-time - standard Time class
mruby-toplevel-ext - toplevel object (main) methods extension
================================================
================================================
Config Name: host/mrbc
Output Directory: ../../build/mruby/host/mrbc
Binaries: mrbc
Included Gems:
mruby-bin-mrbc - mruby compiler executable
mruby-compiler - mruby compiler library
================================================
[ 0%] Built target mruby
[ 0%] Generating quicly-tracer.h
Scanning dependencies of target h2o
[ 3%] Building C object CMakeFiles/h2o.dir/deps/cloexec/cloexec.c.o
[ 3%] Building C object CMakeFiles/h2o.dir/deps/hiredis/async.c.o
[ 3%] Building C object CMakeFiles/h2o.dir/deps/hiredis/hiredis.c.o
[ 3%] Building C object CMakeFiles/h2o.dir/deps/hiredis/net.c.o
[ 3%] Building C object CMakeFiles/h2o.dir/deps/hiredis/read.c.o
[ 3%] Building C object CMakeFiles/h2o.dir/deps/hiredis/sds.c.o
[ 7%] Building C object CMakeFiles/h2o.dir/deps/libgkc/gkc.c.o
[ 7%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/close.c.o
[ 7%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/connect.c.o
[ 7%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/recv.c.o
[ 7%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/send.c.o
[ 7%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/send_text.c.o
[ 7%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/socket.c.o
[ 11%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/strerror.c.o
[ 11%] Building C object CMakeFiles/h2o.dir/deps/libyrmcds/text_mode.c.o
[ 11%] Building C object CMakeFiles/h2o.dir/deps/picohttpparser/picohttpparser.c.o
[ 11%] Building C object CMakeFiles/h2o.dir/deps/picotls/deps/cifra/src/blockwise.c.o
[ 11%] Building C object CMakeFiles/h2o.dir/deps/picotls/deps/cifra/src/chash.c.o
[ 11%] Building C object CMakeFiles/h2o.dir/deps/picotls/deps/cifra/src/curve25519.c.o
[ 14%] Building C object CMakeFiles/h2o.dir/deps/picotls/deps/cifra/src/drbg.c.o
[ 14%] Building C object CMakeFiles/h2o.dir/deps/picotls/deps/cifra/src/hmac.c.o
[ 14%] Building C object CMakeFiles/h2o.dir/deps/picotls/deps/cifra/src/sha256.c.o
[ 14%] Building C object CMakeFiles/h2o.dir/deps/picotls/lib/certificate_compression.c.o
[ 14%] Building C object CMakeFiles/h2o.dir/deps/picotls/lib/pembase64.c.o
[ 14%] Building C object CMakeFiles/h2o.dir/deps/picotls/lib/picotls.c.o
[ 18%] Building C object CMakeFiles/h2o.dir/deps/picotls/lib/openssl.c.o
[ 18%] Building C object CMakeFiles/h2o.dir/deps/picotls/lib/cifra/random.c.o
[ 18%] Building C object CMakeFiles/h2o.dir/deps/picotls/lib/cifra/x25519.c.o
[ 18%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/cc-cubic.c.o
[ 18%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/cc-pico.c.o
[ 18%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/cc-reno.c.o
[ 18%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/defaults.c.o
[ 22%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/frame.c.o
[ 22%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/local_cid.c.o
[ 22%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/loss.c.o
[ 22%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/quicly.c.o
[ 22%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/ranges.c.o
[ 22%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/rate.c.o
[ 25%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/recvstate.c.o
[ 25%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/remote_cid.c.o
[ 25%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/retire_cid.c.o
[ 25%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/sendstate.c.o
[ 25%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/sentmap.c.o
[ 25%] Building C object CMakeFiles/h2o.dir/deps/quicly/lib/streambuf.c.o
[ 25%] Building C object CMakeFiles/h2o.dir/lib/common/cache.c.o
[ 29%] Building C object CMakeFiles/h2o.dir/lib/common/file.c.o
[ 29%] Building C object CMakeFiles/h2o.dir/lib/common/filecache.c.o
[ 29%] Building C object CMakeFiles/h2o.dir/lib/common/hostinfo.c.o
[ 29%] Building C object CMakeFiles/h2o.dir/lib/common/http1client.c.o
[ 29%] Building C object CMakeFiles/h2o.dir/lib/common/http2client.c.o
[ 29%] Building C object CMakeFiles/h2o.dir/lib/common/http3client.c.o
[ 33%] Building C object CMakeFiles/h2o.dir/lib/common/httpclient.c.o
[ 33%] Building C object CMakeFiles/h2o.dir/lib/common/memcached.c.o
[ 33%] Building C object CMakeFiles/h2o.dir/lib/common/memory.c.o
[ 33%] Building C object CMakeFiles/h2o.dir/lib/common/multithread.c.o
[ 33%] Building C object CMakeFiles/h2o.dir/lib/common/redis.c.o
[ 33%] Building C object CMakeFiles/h2o.dir/lib/common/serverutil.c.o
[ 33%] Building C object CMakeFiles/h2o.dir/lib/common/socket.c.o
[ 37%] Building C object CMakeFiles/h2o.dir/lib/common/socketpool.c.o
[ 37%] Building C object CMakeFiles/h2o.dir/lib/common/string.c.o
[ 37%] Building C object CMakeFiles/h2o.dir/lib/common/rand.c.o
[ 37%] Building C object CMakeFiles/h2o.dir/lib/common/time.c.o
[ 37%] Building C object CMakeFiles/h2o.dir/lib/common/timerwheel.c.o
[ 37%] Building C object CMakeFiles/h2o.dir/lib/common/token.c.o
[ 40%] Building C object CMakeFiles/h2o.dir/lib/common/url.c.o
/home/msmhrt/repository/h2o/lib/common/url.c: In function ‘h2o_url_init_with_hostport’:
/home/msmhrt/repository/h2o/lib/common/url.c:430:39: error: ‘%u’ directive writing between 1 and 10 bytes into a region of size 6 [-Werror=format-overflow=]
int port_len = sprintf(_port, "%" PRIu16, port);
^~~
/home/msmhrt/repository/h2o/lib/common/url.c:430:40: note: format string is defined here
int port_len = sprintf(_port, "%" PRIu16, port);
/home/msmhrt/repository/h2o/lib/common/url.c:430:39: note: directive argument in the range [0, 2147483647]
int port_len = sprintf(_port, "%" PRIu16, port);
^~~
In file included from /usr/include/stdio.h:862:0,
from /home/msmhrt/repository/h2o/include/h2o/memory.h:31,
from /home/msmhrt/repository/h2o/lib/common/url.c:26:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 2 and 11 bytes into a destination of size 6
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 __bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/msmhrt/repository/h2o/lib/common/url.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-nullability-completeness’
cc1: some warnings being treated as errors
CMakeFiles/h2o.dir/build.make:1603: recipe for target 'CMakeFiles/h2o.dir/lib/common/url.c.o' failed
make[2]: *** [CMakeFiles/h2o.dir/lib/common/url.c.o] Error 1
CMakeFiles/Makefile2:883: recipe for target 'CMakeFiles/h2o.dir/all' failed
make[1]: *** [CMakeFiles/h2o.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
]0;msmhrt@ashrose: ~/repository/h2o/build msmhrt@ashrose:~/repository/h2o/build$ exit
exit
Script done on 2022-08-31 03:09:53+0900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment