Skip to content

Instantly share code, notes, and snippets.

@jjn1056
Created August 3, 2017 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjn1056/bdb5aa5545bbce366bcf975845c77062 to your computer and use it in GitHub Desktop.
Save jjn1056/bdb5aa5545bbce366bcf975845c77062 to your computer and use it in GitHub Desktop.
Errors install rPerl on Mac with Xcode
cpanm (App::cpanminus) 1.7043 on perl 5.020003 built for darwin-2level
Work directory is /Users/jnapiorkowski/.cpanm/work/1501772817.36081
You have make /usr/bin/make
You have LWP 6.26
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Alien::JPCRE2 () on cpanmetadb ...
Unpacking Alien-JPCRE2-0.008000.tar.gz
--> Working on Alien::JPCRE2
Fetching http://www.cpan.org/authors/id/W/WB/WBRASWELL/Alien-JPCRE2-0.008000.tar.gz ... OK
x Alien-JPCRE2-0.008000/
x Alien-JPCRE2-0.008000/t/
x Alien-JPCRE2-0.008000/t/02_stub.t
x Alien-JPCRE2-0.008000/t/01_use.t
x Alien-JPCRE2-0.008000/Makefile.PL
x Alien-JPCRE2-0.008000/alienfile
x Alien-JPCRE2-0.008000/META.yml
x Alien-JPCRE2-0.008000/MANIFEST
x Alien-JPCRE2-0.008000/META.json
x Alien-JPCRE2-0.008000/README.md
x Alien-JPCRE2-0.008000/Changes
x Alien-JPCRE2-0.008000/lib/
x Alien-JPCRE2-0.008000/lib/Alien/
x Alien-JPCRE2-0.008000/lib/Alien/JPCRE2.pm
Entering Alien-JPCRE2-0.008000
Checking configure dependencies from META.json
Checking if you have Alien::PCRE2 0.013 ... Yes (0.013000)
Checking if you have Alien::Build::MM 0.25 ... Yes (0.75)
Checking if you have IO::Socket::SSL 2.043 ... Yes (2.049)
Checking if you have Alien::Build 0.66 ... Yes (0.75)
Checking if you have ExtUtils::CBuilder 0 ... Yes (0.280224)
Checking if you have Alien::Build::Plugin::Build::SearchDep 0.53 ... Yes (0.75)
Running Makefile.PL
Configuring Alien-JPCRE2-0.008000 ... Alien::Build::Plugin::Probe::CBuilder> trying: cflags=-I/Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-PCRE2/include -DPCRE2_STATIC libs=-L/Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-PCRE2/lib -lpcre2-8
Alien::Build::Plugin::Probe::CBuilder> compile failed: error building mytest.o from 'mytest.c' at /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/ExtUtils/CBuilder/Base.pm line 173.
Alien::Build::Plugin::Probe::CBuilder> compile failed: cc -I/Users/jnapiorkowski/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/darwin-2level/CORE -I/Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-PCRE2/include -DPCRE2_STATIC -c -x c++ -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -o mytest.o mytest.c
mytest.c:1:10: fatal error: 'jpcre2.hpp' file not found
#include <jpcre2.hpp>
^
1 error generated.
Alien::Build> error in probe (will do a share install): error building mytest.o from 'mytest.c' at /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/ExtUtils/CBuilder/Base.pm line 173.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Alien::JPCRE2
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have Net::SSLeay 1.49 ... Yes (1.81)
Checking if you have URI::Escape 0 ... Yes (3.31)
Checking if you have URI 0 ... Yes (1.71)
Checking if you have Alien::Build::MM 0.25 ... Yes (0.75)
Checking if you have IO::Zlib 0 ... Yes (1.10)
Checking if you have Archive::Tar 0 ... Yes (2.26)
Checking if you have Sort::Versions 0 ... Yes (1.62)
Checking if you have Alien::gmake 0.11 ... Yes (0.20)
Checking if you have Alien::PCRE2 0 ... Yes (0.013000)
Checking if you have Config 0 ... Yes (5.020003)
Checking if you have Test2::Suite 0.000072 ... Yes (0.000072)
Checking if you have HTTP::Tiny 0.044 ... Yes (0.070)
Checking if you have HTML::LinkExtor 0 ... Yes (3.69)
Checking if you have Env::ShellWords 0.01 ... Yes (0.01)
Checking if you have Alien::Build 0.25 ... Yes (0.75)
Checking if you have IO::Socket::SSL 1.56 ... Yes (2.049)
OK
Building and testing Alien-JPCRE2-0.008000 ... cp lib/Alien/JPCRE2.pm blib/lib/Alien/JPCRE2.pm
"/Users/jnapiorkowski/perl5/perlbrew/perls/perl-5.20.3/bin/perl" -MAlien::Build::MM=cmd -e prefix site /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level
main> prefix /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-JPCRE2
"/Users/jnapiorkowski/perl5/perlbrew/perls/perl-5.20.3/bin/perl" -MAlien::Build::MM=cmd -e version 0.008000
"/Users/jnapiorkowski/perl5/perlbrew/perls/perl-5.20.3/bin/perl" -MAlien::Build::MM=cmd -e download
Alien::Build::Plugin::Core::Download> decoding html
Alien::Build::Plugin::Core::Download> candidate *https://github.com/wbraswell/jpcre2-mirror/raw/master/backup/jpcre2-10.30.02.tar.gz
Alien::Build::Plugin::Core::Download> setting version based on archive to 10.30.02
Alien::Build::Plugin::Core::Download> downloaded jpcre2-10.30.02.tar.gz
"/Users/jnapiorkowski/perl5/perlbrew/perls/perl-5.20.3/bin/perl" -MAlien::Build::MM=cmd -e build
Alien::Build::CommandSequence> + ./configure --prefix=/Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-JPCRE2 --with-pic --disable-cpp11 --enable-test
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 int64_t... yes
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 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... 196608
checking how to convert x86_64-apple-darwin15.6.0 file names to x86_64-apple-darwin15.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
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 ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc 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... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for size_t... yes
checking for uint32_t... yes
checking pcre2.h usability... no
checking pcre2.h presence... no
checking for pcre2.h... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for setlocale,... no
checking for free... yes
checking whether make supports nested variables... (cached) yes
checking for pcre2_code_free_8 in -lpcre2-8... yes
checking for pcre2_code_free_16 in -lpcre2-16... yes
checking for pcre2_code_free_32 in -lpcre2-32... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
configuration summary:
Install prefix .................... : /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-JPCRE2
C preprocessor .................... : gcc
C++ compiler ...................... : g++
Linker ............................ : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
C++ preprocessor flags ............ : -I/Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-PCRE2/include
C++ compiler flags ................ : -I/Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-PCRE2/include
Linker flags ...................... : -L/Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/darwin-2level/auto/share/dist/Alien-PCRE2/lib
Extra libraries ................... : -lpcre2-32 -lpcre2-16 -lpcre2-8
Build tests ....................... : yes
Build with C++ 11 ................. : no
Valgrind memory leak test ......... : no
Multi-thread test ................. : no
Coverage report ................... : no
Enable Silent Rules ............... : yes
Alien::Build::CommandSequence> + make
Making all in src
CXX test_match2-test_match2.o
In file included from test_match2.cpp:9:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test_match2
clang: warning: argument unused during compilation: '-pthread'
CXX test_replace2-test_replace2.o
In file included from test_replace2.cpp:10:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test_replace2
clang: warning: argument unused during compilation: '-pthread'
CXX test_match-test_match.o
In file included from test_match.cpp:10:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test_match
clang: warning: argument unused during compilation: '-pthread'
CXX test_replace-test_replace.o
In file included from test_replace.cpp:8:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test_replace
clang: warning: argument unused during compilation: '-pthread'
CXX test_shorts-test_shorts.o
In file included from test_shorts.cpp:8:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test_shorts
clang: warning: argument unused during compilation: '-pthread'
CXX test16-test16.o
In file included from test16.cpp:8:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test16
clang: warning: argument unused during compilation: '-pthread'
CXX test32-test32.o
In file included from test32.cpp:8:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test32
clang: warning: argument unused during compilation: '-pthread'
CXX test0-test0.o
In file included from test0.cpp:8:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
87 warnings generated.
CXXLD test0
clang: warning: argument unused during compilation: '-pthread'
CXX test-test.o
In file included from test.cpp:26:
./jpcre2.hpp:256:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:256:74: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::CompileContext* compile_context_create(typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:259:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:265:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<8>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:268:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<8>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:271:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:271:56: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::Pcre2Code * compile( typename Pcre2Type<8>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:276:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:279:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<8>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:282:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:283:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:287:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:288:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:289:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:291:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:314:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<8>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:318:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:322:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<8>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:323:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:324:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:328:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<8>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:329:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:333:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:334:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<8>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:337:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:340:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:343:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<8>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:346:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<8>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:373:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<8>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:380:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:380:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::CompileContext* compile_context_create(typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:383:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:389:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<16>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:392:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<16>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:395:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:395:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::Pcre2Code * compile( typename Pcre2Type<16>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:400:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:403:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<16>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:406:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:407:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:411:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:412:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:413:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:415:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:438:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<16>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:442:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:446:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<16>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:447:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:448:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:452:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<16>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:453:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:457:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:458:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<16>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:461:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:464:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:467:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<16>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:470:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<16>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:497:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<16>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:504:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:504:75: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::CompileContext* compile_context_create(typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:507:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void compile_context_free(typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:513:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static const unsigned char * maketables(typename Pcre2Type<32>::GeneralContext* gcontext){
^~~~~~~~~
./jpcre2.hpp:516:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_character_tables(typename Pcre2Type<32>::CompileContext * ccontext, const unsigned char * table){
^~~~~~~~~
./jpcre2.hpp:519:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:519:57: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::Pcre2Code * compile( typename Pcre2Type<32>::Pcre2Sptr pattern,
^~~~~~~~~
./jpcre2.hpp:524:38: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::CompileContext *ccontext){
^~~~~~~~~
./jpcre2.hpp:527:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int jit_compile(typename Pcre2Type<32>::Pcre2Code *code, uint32_t options){
^~~~~~~~~
./jpcre2.hpp:530:34: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int substitute( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:531:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:535:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:536:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext,
^~~~~~~~~
./jpcre2.hpp:537:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr replacement,
^~~~~~~~~
./jpcre2.hpp:539:21: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *outputbuffer,
^~~~~~~~~
./jpcre2.hpp:562:27: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void code_free(typename Pcre2Type<32>::Pcre2Code *code){
^~~~~~~~~
./jpcre2.hpp:566:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Uchar *buffer,
^~~~~~~~~
./jpcre2.hpp:570:12: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static typename Pcre2Type<32>::MatchData * match_data_create_from_pattern(
^~~~~~~~~
./jpcre2.hpp:571:37: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:572:31: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::GeneralContext *gcontext){
^~~~~~~~~
./jpcre2.hpp:576:30: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int match( const typename Pcre2Type<32>::Pcre2Code *code,
^~~~~~~~~
./jpcre2.hpp:577:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::Pcre2Sptr subject,
^~~~~~~~~
./jpcre2.hpp:581:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchData *match_data,
^~~~~~~~~
./jpcre2.hpp:582:29: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
typename Pcre2Type<32>::MatchContext *mcontext){
^~~~~~~~~
./jpcre2.hpp:585:33: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static void match_data_free(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:588:45: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static PCRE2_SIZE * get_ovector_pointer(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
./jpcre2.hpp:591:35: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int pattern_info(const typename Pcre2Type<32>::Pcre2Code *code, uint32_t what, void *where){
^~~~~~~~~
./jpcre2.hpp:594:28: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static int set_newline(typename Pcre2Type<32>::CompileContext *ccontext, uint32_t value){
^~~~~~~~~
./jpcre2.hpp:621:39: warning: 'typename' occurs outside of a template [-Wc++11-extensions]
static uint32_t get_ovector_count(typename Pcre2Type<32>::MatchData *match_data){
^~~~~~~~~
test.cpp:362:1: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
FUNKY_CODE
^~~~~~~~~~
test.cpp:67:5: note: expanded from macro 'FUNKY_CODE'
std::setlocale(LC_CTYPE, "en_US"); \
^~~~~
/usr/include/locale.h:53:8: note: 'setlocale' declared here
char *setlocale(int, const char *);
^
test.cpp:362:1: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
FUNKY_CODE
^~~~~~~~~~
test.cpp:80:5: note: expanded from macro 'FUNKY_CODE'
std::setlocale(LC_CTYPE, "fr_FR"); \
^~~~~
/usr/include/locale.h:53:8: note: 'setlocale' declared here
char *setlocale(int, const char *);
^
test.cpp:370:1: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
FUNKY_CODE
^~~~~~~~~~
test.cpp:67:5: note: expanded from macro 'FUNKY_CODE'
std::setlocale(LC_CTYPE, "en_US"); \
^~~~~
/usr/include/locale.h:53:8: note: 'setlocale' declared here
char *setlocale(int, const char *);
^
test.cpp:370:1: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
FUNKY_CODE
^~~~~~~~~~
test.cpp:80:5: note: expanded from macro 'FUNKY_CODE'
std::setlocale(LC_CTYPE, "fr_FR"); \
^~~~~
/usr/include/locale.h:53:8: note: 'setlocale' declared here
char *setlocale(int, const char *);
^
87 warnings and 4 errors generated.
make[2]: *** [test-test.o] Error 1
make[1]: *** [all-recursive] Error 1
external command failed at /Users/jnapiorkowski/.perlbrew/libs/perl-5.20.3@default/lib/perl5/Alien/Build/CommandSequence.pm line 49.
make: *** [_alien/mm/build] Error 2
! Installing Alien::JPCRE2 failed. See /Users/jnapiorkowski/.cpanm/work/1501772817.36081/build.log for details. Retry with --force to force install it.
FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment