Posting preparation - Copy testsuite to local folder to the server:
OK
Posting preparation - Copy code to local folder to the server:
OK
Posting building - Compiling CCExtractor using cmake to the server:
OK
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Commit : Unknown
-- Compilation Date: 2018-11-05
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bot/ccextractor/build
Scanning dependencies of target ccx
[ 0%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/protobuf-c/protobuf-c.c.o
[ 1%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zvbi/bit_slicer.c.o
[ 1%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zvbi/decoder.c.o
/home/bot/ccextractor/src/zvbi/decoder.c: In function ‘vbi_raw_decoder_resize’:
/home/bot/ccextractor/src/zvbi/decoder.c:531:18: warning: variable ‘service_set’ set but not used [-Wunused-but-set-variable]
vbi_service_set service_set;
^~~~~~~~~~~
[ 1%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zvbi/raw_decoder.c.o
/home/bot/ccextractor/src/zvbi/raw_decoder.c: In function ‘vbi3_raw_decoder_debug’:
/home/bot/ccextractor/src/zvbi/raw_decoder.c:1092:29: warning: variable ‘sp_lines’ set but not used [-Wunused-but-set-variable]
_vbi3_raw_decoder_sp_line *sp_lines;
^~~~~~~~
[ 2%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zvbi/sampling_par.c.o
/home/bot/ccextractor/src/zvbi/sampling_par.c: In function ‘_vbi_sampling_par_from_services_log’:
/home/bot/ccextractor/src/zvbi/sampling_par.c:432:10: warning: variable ‘margin’ set but not used [-Wunused-but-set-variable]
double margin;
^~~~~~
[ 2%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/lib_hash/sha2.c.o
[ 3%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/wrappers/wrapper.c.o
[ 3%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/png.c.o
[ 3%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngerror.c.o
[ 4%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngget.c.o
[ 4%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngmem.c.o
[ 5%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngpread.c.o
[ 5%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngread.c.o
[ 6%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngrio.c.o
[ 6%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngrtran.c.o
[ 6%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngrutil.c.o
[ 7%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngset.c.o
[ 7%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngtrans.c.o
[ 8%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngwio.c.o
[ 8%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngwrite.c.o
[ 9%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngwtran.c.o
[ 9%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/libpng/pngwutil.c.o
[ 9%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/adler32.c.o
[ 10%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/compress.c.o
[ 10%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/crc32.c.o
[ 11%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/deflate.c.o
[ 11%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/gzclose.c.o
[ 11%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/gzlib.c.o
[ 12%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/gzread.c.o
[ 12%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/gzwrite.c.o
[ 13%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/infback.c.o
[ 13%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/inffast.c.o
[ 14%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/inflate.c.o
[ 14%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/inftrees.c.o
[ 14%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/trees.c.o
[ 15%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/uncompr.c.o
[ 15%] Building C object lib_ccx/CMakeFiles/ccx.dir/__/zlib/zutil.c.o
[ 16%] Building C object lib_ccx/CMakeFiles/ccx.dir/activity.c.o
[ 16%] Building C object lib_ccx/CMakeFiles/ccx.dir/asf_functions.c.o
[ 17%] Building C object lib_ccx/CMakeFiles/ccx.dir/avc_functions.c.o
[ 17%] Building C object lib_ccx/CMakeFiles/ccx.dir/cc_bitstream.c.o
[ 17%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_common_char_encoding.c.o
[ 18%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_common_common.c.o
[ 18%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_common_constants.c.o
[ 19%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_common_option.c.o
[ 19%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_common_timing.c.o
[ 20%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_608.c.o
[ 20%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_708.c.o
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_708.c: In function ‘dtvcc_handle_DFx_DefineWindow’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_708.c:1072:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (win_style > 0 && win_style < 8)
^~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_708.c:1074:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
window->win_style = win_style; {
^
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_708.c: In function ‘dtvcc_handle_DLW_DeleteWindows’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_708.c:1202:22: warning: unused variable ‘current_win_deleted’ [-Wunused-variable]
window_had_content,current_win_deleted=0;
^~~~~~~~~~~~~~~~~~~
[ 20%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_708_encoding.c.o
[ 21%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_708_output.c.o
[ 21%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_common.c.o
[ 22%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_isdb.c.o
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c: In function ‘reserve_buf’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:373:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
text->buf = ptr;
^
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c: In function ‘get_text’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:517:32: warning: pointer targets in passing argument 1 of ‘ccx_strstr_ignorespace’ differ in signedness [-Wpointer-sign]
if (ccx_strstr_ignorespace(text->buf, sb_text->buf))
^~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:463:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
static int ccx_strstr_ignorespace(const unsigned char *str1, const unsigned char *str2)
^~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:517:43: warning: pointer targets in passing argument 2 of ‘ccx_strstr_ignorespace’ differ in signedness [-Wpointer-sign]
if (ccx_strstr_ignorespace(text->buf, sb_text->buf))
^~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:463:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
static int ccx_strstr_ignorespace(const unsigned char *str1, const unsigned char *str2)
^~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:521:34: warning: pointer targets in passing argument 1 of ‘ccx_strstr_ignorespace’ differ in signedness [-Wpointer-sign]
if (!ccx_strstr_ignorespace(sb_text->buf, text->buf))
^~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:463:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
static int ccx_strstr_ignorespace(const unsigned char *str1, const unsigned char *str2)
^~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:521:48: warning: pointer targets in passing argument 2 of ‘ccx_strstr_ignorespace’ differ in signedness [-Wpointer-sign]
if (!ccx_strstr_ignorespace(sb_text->buf, text->buf))
^~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:463:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
static int ccx_strstr_ignorespace(const unsigned char *str1, const unsigned char *str2)
^~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:546:32: warning: pointer targets in passing argument 1 of ‘ccx_strstr_ignorespace’ differ in signedness [-Wpointer-sign]
if (ccx_strstr_ignorespace(text->buf, sb_text->buf))
^~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:463:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
static int ccx_strstr_ignorespace(const unsigned char *str1, const unsigned char *str2)
^~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:546:43: warning: pointer targets in passing argument 2 of ‘ccx_strstr_ignorespace’ differ in signedness [-Wpointer-sign]
if (ccx_strstr_ignorespace(text->buf, sb_text->buf))
^~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:463:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
static int ccx_strstr_ignorespace(const unsigned char *str1, const unsigned char *str2)
^~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:488:19: warning: variable ‘wtrepeat_text’ set but not used [-Wunused-but-set-variable]
struct ISDBText *wtrepeat_text = NULL;
^~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c: In function ‘parse_csi’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:803:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (ret > 0)
^~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:805:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
ls->acps[1] = p1;
^~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c: In function ‘parse_caption_statement_data’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:1314:24: warning: pointer targets in passing argument 2 of ‘add_cc_sub_text’ differ in signedness [-Wpointer-sign]
add_cc_sub_text(sub, buffer, ctx->prev_timestamp, ctx->timestamp, "NA", "ISDB", CCX_ENC_UTF_8);
^~~~~~
In file included from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:9:0,
from /home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:3:
/home/bot/ccextractor/src/lib_ccx/ccx_common_common.h:48:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
int add_cc_sub_text(struct cc_subtitle *sub, char *str, LLONG start_time,
^~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c: In function ‘isdb_parse_data_group’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:1334:6: warning: variable ‘last_link_number’ set but not used [-Wunused-but-set-variable]
int last_link_number = 0;
^~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:1333:6: warning: variable ‘link_number’ set but not used [-Wunused-but-set-variable]
int link_number = 0;
^~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_isdb.c:1332:6: warning: unused variable ‘version’ [-Wunused-variable]
int version = (*buf & 2);
^~~~~~~
[ 22%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_vbi.c.o
[ 22%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_decoders_xds.c.o
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_xds.c: In function ‘xds_do_current_and_future’:
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_xds.c:674:9: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
if (!ctx->cur_xds_payload[2] & 20 || !ctx->cur_xds_payload[3] & 20) // Bit 6 must be 1
^~~~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_xds.c:674:42: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
if (!ctx->cur_xds_payload[2] & 20 || !ctx->cur_xds_payload[3] & 20) // Bit 6 must be 1
^~~~~~~~~~~~~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_decoders_xds.c:670:9: warning: variable ‘changed’ set but not used [-Wunused-but-set-variable]
int changed = 0;
^~~~~~~
[ 23%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_demuxer.c.o
[ 23%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_demuxer_mxf.c.o
/home/bot/ccextractor/src/lib_ccx/ccx_demuxer_mxf.c: In function ‘mxf_read_vanc_data’:
/home/bot/ccextractor/src/lib_ccx/ccx_demuxer_mxf.c:373:29: warning: pointer targets in passing argument 2 of ‘buffered_read’ differ in signedness [-Wpointer-sign]
ret = buffered_read(demux, vanc_header, 16);
^~~~~~~~~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_demuxer_mxf.c:9:0:
/home/bot/ccextractor/src/lib_ccx/file_buffer.h:44:22: note: expected ‘unsigned char *’ but argument is of type ‘char *’
static size_t inline buffered_read(struct ccx_demuxer *ctx, unsigned char *buffer, size_t bytes)
^~~~~~~~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_demuxer_mxf.c:368:10: warning: unused variable ‘count’ [-Wunused-variable]
uint8_t count;
^~~~~
[ 24%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_dtvcc.c.o
[ 24%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_encoders_common.c.o
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_common.c: In function ‘encode_sub’:
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_common.c:1206:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (!context->startcredits_displayed && context->start_credits_text != NULL)
^~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_common.c:1208:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
wrote_something = write_cc_bitmap_as_ssa(sub, context);
^~~~~~~~~~~~~~~
[ 25%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_encoders_curl.c.o
[ 25%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_encoders_g608.c.o
[ 25%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_encoders_helpers.c.o
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_helpers.c: In function ‘encode_line’:
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_helpers.c:168:3: warning: enumeration value ‘CCX_ENC_ASCII’ not handled in switch [-Wswitch]
switch (ctx->encoding)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_helpers.c: In function ‘get_decoder_line_encoded’:
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_helpers.c:305:3: warning: enumeration value ‘CCX_ENC_ASCII’ not handled in switch [-Wswitch]
switch (ctx->encoding)
^~~~~~
[ 26%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_encoders_python.c.o
[ 26%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_encoders_sami.c.o
[ 27%] Building C object lib_ccx/CMakeFiles/ccx.dir/ccx_encoders_smptett.c.o
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c: In function ‘write_cc_buffer_as_smptett’:
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:269:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
unsigned char *final = malloc ( strlen((context->subline)) + 1000); //Being overly generous? :P
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:270:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
unsigned char *temp = malloc ( strlen((context->subline)) + 1000);
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:293:36: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign]
unsigned char * start = strstr((context->subline), "");
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:337:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern char *strstr (const char *__haystack, const char *__needle)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:293:29: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
unsigned char * start = strstr((context->subline), "");
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:296:21: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign]
start = strstr((context->subline), "");
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:337:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern char *strstr (const char *__haystack, const char *__needle)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:296:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
start = strstr((context->subline), "");
^
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:300:22: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign]
start = strstr((context->subline), "");
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:337:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern char *strstr (const char *__haystack, const char *__needle)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:300:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
start = strstr((context->subline), "");
^
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:316:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
end_tag ="";
^
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:321:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
end_tag = "";
^
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:326:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
end_tag = "";
^
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:329:37: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign]
unsigned char *end = strstr((context->subline), end_tag); //occurance of closing tag ( OR OR )
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:337:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern char *strstr (const char *__haystack, const char *__needle)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:329:57: warning: pointer targets in passing argument 2 of ‘strstr’ differ in signedness [-Wpointer-sign]
unsigned char *end = strstr((context->subline), end_tag); //occurance of closing tag ( OR OR )
^~~~~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:337:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern char *strstr (const char *__haystack, const char *__needle)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:329:30: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
unsigned char *end = strstr((context->subline), end_tag); //occurance of closing tag ( OR OR )
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:334:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(final,(context->subline));
^~~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:334:26: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(final,(context->subline));
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:342:15: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness [-Wpointer-sign]
strncat(final,(context->subline),start_index); // copying content before opening tag e.g.
^~~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:136:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strncat (char *__restrict __dest, const char *__restrict __src,
^~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:342:21: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness [-Wpointer-sign]
strncat(final,(context->subline),start_index); // copying content before opening tag e.g.
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:136:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
extern char *strncat (char *__restrict __dest, const char *__restrict __src,
^~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:344:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign]
strcat(final,""); //adding : replacement of
^~~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcat (char *__restrict __dest, const char *__restrict __src)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:348:15: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness [-Wpointer-sign]
strncat(temp, (context->subline) + start_index + 3, end_index - start_index - 3); //the content in italics
^~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:136:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strncat (char *__restrict __dest, const char *__restrict __src,
^~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:348:21: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness [-Wpointer-sign]
strncat(temp, (context->subline) + start_index + 3, end_index - start_index - 3); //the content in italics
^
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:136:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
extern char *strncat (char *__restrict __dest, const char *__restrict __src,
^~~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:350:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign]
strcat(final,temp); //attaching to final sentence.
^~~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcat (char *__restrict __dest, const char *__restrict __src)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:350:20: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign]
strcat(final,temp); //attaching to final sentence.
^~~~
In file included from /home/bot/ccextractor/src/lib_ccx/ccx_common_platform.h:7:0,
from /home/bot/ccextractor/src/lib_ccx/lib_ccx.h:7,
from /home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:24:
/usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcat (char *__restrict __dest, const char *__restrict __src)
^~~~~~
/home/bot/ccextractor/src/lib_ccx/ccx_encoders_smptett.c:353:15: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(temp,"