naouak / ebu-stl-tools Goto Github PK
View Code? Open in Web Editor NEWTools for managing EBU STL files
License: BSD 3-Clause "New" or "Revised" License
Tools for managing EBU STL files
License: BSD 3-Clause "New" or "Revised" License
I work on packaging your great project for debian and I need license.
Is that possible to add license on your project =D ?
I cannot compile this on Linux (Ubuntu 16.04). Not being used to C, I don't know if I should be calling make
with some arguments, or if there is some other problem.
~/src/EBU-STL-tools-master$ make
gcc -D'VERSION_NUMBER="2018-01-30 16:05:15"' -std=c99 -lm -c source/ebu_shift.c
gcc -D'VERSION_NUMBER="2018-01-30 16:05:15"' -std=c99 -lm -c source/ebu.c
source/ebu.c: In function ‘BelleNuitFix’:
source/ebu.c:76:11: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
strncpy(ebu->gsi.TCF,ebu->gsi.TCP,8);
^
In file included from source/ebu.c:3:0:
/usr/include/string.h:128:14: note: expected ‘char * restrict’ but argument is of type ‘const unsigned char *’
extern char *strncpy (char *__restrict __dest,
^
source/ebu.c:77:11: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
strncpy(ebu->gsi.TCP,"00000000",8);
^
In file included from source/ebu.c:3:0:
/usr/include/string.h:128:14: note: expected ‘char * restrict’ but argument is of type ‘const unsigned char *’
extern char *strncpy (char *__restrict __dest,
^
source/ebu.c: In function ‘TeletextTrimControl’:
source/ebu.c:127:11: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
strncpy(ebu->gsi.TCF,ebu->gsi.TCP,8);
^
In file included from source/ebu.c:3:0:
/usr/include/string.h:128:14: note: expected ‘char * restrict’ but argument is of type ‘const unsigned char *’
extern char *strncpy (char *__restrict __dest,
^
source/ebu.c:128:11: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
strncpy(ebu->gsi.TCP,"00000000",8);
^
In file included from source/ebu.c:3:0:
/usr/include/string.h:128:14: note: expected ‘char * restrict’ but argument is of type ‘const unsigned char *’
extern char *strncpy (char *__restrict __dest,
^
gcc -D'VERSION_NUMBER="2018-01-30 16:05:15"' -std=c99 -lm -c source/string_utils.c
mkdir -p bin
gcc -D'VERSION_NUMBER="2018-01-30 16:05:15"' -std=c99 -lm -o bin/ebu_shift ebu_shift.o ebu.o string_utils.o
ebu.o: In function `EBUTC30to25':
ebu.c:(.text+0x102e): undefined reference to `roundf'
ebu.o: In function `EBUTC25to24':
ebu.c:(.text+0x1297): undefined reference to `roundf'
collect2: error: ld returned 1 exit status
makefile:19: recipe for target 'ebu_shift' failed
make: *** [ebu_shift] Error 1
After this, the bin directory has been created but is empty. The following files have been created in the main directory:
Hello,
I know very little about compiling with make, but my understanding is that I should be able to cd to the source code directory and then just run make? I get a lot of errors when i do so, so perhaps I'm missing some dependency or I'm just making a mess of it:
ifi-edit2:~ admin$ cd /Users/admin/Downloads/EBU-STL-tools-master
ifi-edit2:EBU-STL-tools-master admin$ make
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -c source/ebu_shift.c
source/ebu_shift.c:45:14: warning: passing 'unsigned char [5]' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(tnb,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu_shift.c:59:20: warning: passing 'unsigned char [112]' to parameter of
type 'char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
CRLFtoTeletext(ebu->tti[i].TF,j+1);
^~~~~~~~~~~~~~
source/ebu_shift.c:33:28: note: passing argument to parameter 'str' here
void CRLFtoTeletext(char * str,int position){
^
source/ebu_shift.c:223:11: warning: passing 'unsigned char [2]' to parameter of
type 'char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(ebu->gsi.LC,LC,2);
^~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu_shift.c:229:11: warning: passing 'unsigned char [3]' to parameter of
type 'char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(ebu->gsi.CPN,CPN,3);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu_shift.c:232:11: warning: passing 'unsigned char [3]' to parameter of
type 'char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(ebu->gsi.CO,CO,3);
^~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
5 warnings generated.
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -c source/ebu.c
source/ebu.c:27:16: warning: passing 'unsigned char *' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(text,str,length);
^~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:71:12: warning: returning 'char *' from a function with result type
'unsigned char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
return text;
^~~~
source/ebu.c:76:11: warning: passing 'unsigned char const[8]' to parameter of
type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
strncpy(ebu->gsi.TCF,ebu->gsi.TCP,8);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:76:24: warning: passing 'unsigned char const[8]' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(ebu->gsi.TCF,ebu->gsi.TCP,8);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:77:11: warning: passing 'unsigned char const[8]' to parameter of
type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
strncpy(ebu->gsi.TCP,"00000000",8);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:82:14: warning: passing 'unsigned char const[5]' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(tnb,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:87:11: warning: passing 'unsigned char [112]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(ebu->tti[i].TF,SanitizeSrtString(ebu->tti[i].TF,...
^~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:87:26: warning: passing 'unsigned char *' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
...strncpy(ebu->tti[i].TF,SanitizeSrtString(ebu->tti[i].TF,112),112);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:93:16: warning: passing 'unsigned char *' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(text,str,length);
^~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:122:12: warning: returning 'char *' from a function with result
type 'unsigned char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
return text;
^~~~
source/ebu.c:127:11: warning: passing 'unsigned char const[8]' to parameter of
type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
strncpy(ebu->gsi.TCF,ebu->gsi.TCP,8);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:127:24: warning: passing 'unsigned char const[8]' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(ebu->gsi.TCF,ebu->gsi.TCP,8);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:128:11: warning: passing 'unsigned char const[8]' to parameter of
type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
strncpy(ebu->gsi.TCP,"00000000",8);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:133:14: warning: passing 'unsigned char const[5]' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(tnb,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:138:11: warning: passing 'unsigned char [112]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(ebu->tti[i].TF,TeletextTrimControlLine(ebu->tti[...
^~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:138:26: warning: passing 'unsigned char *' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
...strncpy(ebu->tti[i].TF,TeletextTrimControlLine(ebu->tti[i].TF,112),112);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:155:14: warning: passing 'unsigned char [5]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(tnb,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:166:10: warning: passing 'unsigned char [5]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(ebu->gsi.TNB,tnb,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:167:10: warning: passing 'unsigned char [5]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(ebu->gsi.TNS,tnb,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:178:10: warning: passing 'unsigned char [6]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(TNB,ebu->gsi.TNB,5);
^~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:178:14: warning: passing 'unsigned char [5]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(TNB,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:180:18: warning: passing 'unsigned char [6]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
int nTNB = atoi(TNB);
^~~
/usr/include/stdlib.h:132:23: note: passing argument to parameter here
int atoi(const char *);
^
source/ebu.c:194:10: warning: passing 'unsigned char [6]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(TNB,ebu->gsi.TNB,5);
^~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:194:14: warning: passing 'unsigned char const[5]' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(TNB,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:196:18: warning: passing 'unsigned char [6]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
int nTNB = atoi(TNB);
^~~
/usr/include/stdlib.h:132:23: note: passing argument to parameter here
int atoi(const char *);
^
source/ebu.c:219:11: warning: passing 'unsigned char [3]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(part,TC,2);
^~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:219:16: warning: passing 'const unsigned char *' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(part,TC,2);
^~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:220:20: warning: passing 'unsigned char [3]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
tc->hours = atoi(part);
^~~~
/usr/include/stdlib.h:132:23: note: passing argument to parameter here
int atoi(const char *);
^
source/ebu.c:221:11: warning: passing 'unsigned char [3]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(part,TC+2,2);
^~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:221:16: warning: passing 'const unsigned char *' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(part,TC+2,2);
^~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:222:22: warning: passing 'unsigned char [3]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
tc->minutes = atoi(part);
^~~~
/usr/include/stdlib.h:132:23: note: passing argument to parameter here
int atoi(const char *);
^
source/ebu.c:223:11: warning: passing 'unsigned char [3]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(part,TC+4,2);
^~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:223:16: warning: passing 'const unsigned char *' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(part,TC+4,2);
^~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:224:22: warning: passing 'unsigned char [3]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
tc->seconds = atoi(part);
^~~~
/usr/include/stdlib.h:132:23: note: passing argument to parameter here
int atoi(const char *);
^
source/ebu.c:225:11: warning: passing 'unsigned char [3]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(part,TC+6,2);
^~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:225:16: warning: passing 'const unsigned char *' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(part,TC+6,2);
^~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:226:21: warning: passing 'unsigned char [3]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
tc->frames = atoi(part);
^~~~
/usr/include/stdlib.h:132:23: note: passing argument to parameter here
int atoi(const char *);
^
source/ebu.c:235:10: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
sprintf(ctc,"%08d",ntc);
^~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
source/ebu.c:237:10: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(tc,ctc,8);
^~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:237:13: warning: passing 'unsigned char *' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(tc,ctc,8);
^~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:309:10: warning: passing 'unsigned char [6]' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
strncpy(TNB,ebu->gsi.TNB,5);
^~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:309:14: warning: passing 'unsigned char [5]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(TNB,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:311:18: warning: passing 'unsigned char [6]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
int nTNB = atoi(TNB);
^~~
/usr/include/stdlib.h:132:23: note: passing argument to parameter here
int atoi(const char *);
^
source/ebu.c:349:15: warning: passing 'unsigned char [5]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(cTNB,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:406:15: warning: passing 'unsigned char [5]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(cTNB,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
source/ebu.c:419:14: warning: passing 'unsigned char [5]' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
strncpy(tnb,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
46 warnings generated.
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -c source/string_utils.c
mkdir -p bin
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -o bin/ebu_shift ebu_shift.o ebu.o string_utils.o
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -c source/ebu_dump.c
source/ebu_dump.c:7:22: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("SGN: %hX\n",tti->SGN);
~~~ ^~~~~~~~
%hhX
source/ebu_dump.c:8:29: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("SN : %02hX%02hX\n",tti->SN[1],tti->SN[0]);
~~~~~ ^~~~~~~~~~
%02hhX
source/ebu_dump.c:8:40: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("SN : %02hX%02hX\n",tti->SN[1],tti->SN[0]);
~~~~~ ^~~~~~~~~~
%02hhX
source/ebu_dump.c:9:22: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("EBN: %hX\n",tti->EBN);
~~~ ^~~~~~~~
%hhX
source/ebu_dump.c:10:22: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("CS : %hX\n",tti->CS);
~~~ ^~~~~~~
%hhX
source/ebu_dump.c:13:22: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("VP : %hX\n",tti->VP);
~~~ ^~~~~~~
%hhX
source/ebu_dump.c:14:22: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("JC : %hX\n",tti->JC);
~~~ ^~~~~~~
%hhX
source/ebu_dump.c:15:22: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("CF : %hX\n",tti->CF);
~~~ ^~~~~~~
%hhX
source/ebu_dump.c:94:22: warning: format specifies type 'unsigned short' but the
argument has type 'unsigned char' [-Wformat]
printf("TCS: %hX\n",ebu->gsi.TCS);
~~~ ^~~~~~~~~~~~
%hhX
source/ebu_dump.c:97:43: warning: format specifies type 'short' but the argument
has type 'unsigned char' [-Wformat]
printf("TCP: %02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,t...
~~~~~ ^~~~~~~~~
%02hhu
source/ebu_dump.c:97:53: warning: format specifies type 'short' but the argument
has type 'unsigned char' [-Wformat]
printf("TCP: %02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,t...
~~~~~ ^~~~~~~~~~~
%02hhu
source/ebu_dump.c:97:65: warning: format specifies type 'short' but the argument
has type 'unsigned char' [-Wformat]
...%02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,tc->seconds,tc->frames);
~~~~~ ^~~~~~~~~~~
%02hhu
source/ebu_dump.c:97:77: warning: format specifies type 'short' but the argument
has type 'unsigned char' [-Wformat]
...%02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,tc->seconds,tc->frames);
~~~~~ ^~~~~~~~~~
%02hhu
source/ebu_dump.c:100:43: warning: format specifies type 'short' but the
argument has type 'unsigned char' [-Wformat]
printf("TCF: %02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,t...
~~~~~ ^~~~~~~~~
%02hhu
source/ebu_dump.c:100:53: warning: format specifies type 'short' but the
argument has type 'unsigned char' [-Wformat]
printf("TCF: %02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,t...
~~~~~ ^~~~~~~~~~~
%02hhu
source/ebu_dump.c:100:65: warning: format specifies type 'short' but the
argument has type 'unsigned char' [-Wformat]
...%02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,tc->seconds,tc->frames);
~~~~~ ^~~~~~~~~~~
%02hhu
source/ebu_dump.c:100:77: warning: format specifies type 'short' but the
argument has type 'unsigned char' [-Wformat]
...%02hd:%02hd:%02hd:%02hd\n", tc->hours,tc->minutes,tc->seconds,tc->frames);
~~~~~ ^~~~~~~~~~
%02hhu
source/ebu_dump.c:103:22: warning: format specifies type 'unsigned short' but
the argument has type 'unsigned char' [-Wformat]
printf("TND: %hX\n",ebu->gsi.TND);
~~~ ^~~~~~~~~~~~
%hhX
source/ebu_dump.c:104:22: warning: format specifies type 'unsigned short' but
the argument has type 'unsigned char' [-Wformat]
printf("DSN: %hX\n",ebu->gsi.DSN);
~~~ ^~~~~~~~~~~~
%hhX
source/ebu_dump.c:112:15: warning: passing 'unsigned char [5]' to parameter of
type 'const char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
strncpy(TNB,ebu->gsi.TNB,5);
^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
__builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
^
20 warnings generated.
mkdir -p bin
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -o bin/ebu_dump ebu_dump.o ebu.o string_utils.o
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -c source/ebu_trim.c
mkdir -p bin
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -o bin/ebu_trim ebu_trim.o ebu.o string_utils.o
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -c source/ebu_30to25.c
mkdir -p bin
gcc -D'VERSION_NUMBER="2016-04-12 17:02:04"' -o bin/ebu_30to25 ebu_30to25.o ebu.o string_utils.o
make: *** No rule to make target `ebu_25to24.o', needed by `ebu_25to24'. Stop.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.