cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wall -Wextra -Wno-unused-result-fno-strict-aliasing -o ONE2LA ONE2LA.c align.c DB.c QV.c ONElib.c -lm -Wl,-z,relro -Wl,-z,now
ONE2LA.c: In function ‘main’:
ONE2LA.c:135:13: warning: assignment to ‘int64 *’ {aka ‘long long int *’} from incompatible pointer type ‘I64 *’ {aka ‘long int *’} [-Wincompatible-pointer-types]
135 | list = oneIntList(file1);
| ^
ONE2LA.c:202:20: warning: assignment to ‘int64 *’ {aka ‘long long int *’} from incompatible pointer type ‘I64 *’ {aka ‘long int *’} [-Wincompatible-pointer-types]
202 | list = oneIntList(file1);
| ^
ONE2LA.c:210:20: warning: assignment to ‘int64 *’ {aka ‘long long int *’} from incompatible pointer type ‘I64 *’ {aka ‘long int *’} [-Wincompatible-pointer-types]
210 | list = oneIntList(file1);
| ^
ONE2LA.c:220:20: warning: assignment to ‘int64 *’ {aka ‘long long int *’} from incompatible pointer type ‘I64 *’ {aka ‘long int *’} [-Wincompatible-pointer-types]
220 | list = oneIntList(file1);
| ^
ONE2LA.c:227:20: warning: assignment to ‘int64 *’ {aka ‘long long int *’} from incompatible pointer type ‘I64 *’ {aka ‘long int *’} [-Wincompatible-pointer-types]
227 | list = oneIntList(file1);
| ^
ONE2LA.c:30:20: warning: variable ‘small’ set but not used [-Wunused-but-set-variable]
30 | int tspace, small, tbytes;
| ^~~~~
ONElib.c: In function ‘oneSchemaCreateDynamic’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:390:3: note: in expansion of macro ‘assert’
390 | assert (fileType && strlen(fileType) > 0) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:391:3: note: in expansion of macro ‘assert’
391 | assert (!subType || strlen(subType) > 0) ;
| ^~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:943:3: note: in expansion of macro ‘assert’
943 | assert (!vf->isWrite) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:944:3: note: in expansion of macro ‘assert’
944 | assert (!vf->isFinal) ;
| ^~~~~~
ONElib.c: In function ‘oneFileOpenRead’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1156:3: note: in expansion of macro ‘assert’
1156 | assert (fileType == NULL || strlen(fileType) > 0) ;
| ^~~~~~
ONElib.c: In function ‘addProvenance’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1758:3: note: in expansion of macro ‘assert’
1758 | assert (!vf->isHeaderOut) ;
| ^~~~~~
ONElib.c: In function ‘oneAddProvenance’:
ONElib.c:1792:29: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]
1792 | va_start (args, format) ; vasprintf (&p.command, format, args) ; va_end (args) ;
| ^~~~~~~~~
| vsprintf
ONElib.c: In function ‘addReference’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1809:3: note: in expansion of macro ‘assert’
1809 | assert (!vf->isHeaderOut) ;
| ^~~~~~
ONElib.c: In function ‘writeHeader’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1883:3: note: in expansion of macro ‘assert’
1883 | assert (vf->isWrite) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1884:3: note: in expansion of macro ‘assert’
1884 | assert (vf->line == 0) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1885:3: note: in expansion of macro ‘assert’
1885 | assert (vf->share >= 0) ;
| ^~~~~~
ONElib.c: In function ‘oneWriteLine’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2027:3: note: in expansion of macro ‘assert’
2027 | assert (vf->isWrite) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2028:3: note: in expansion of macro ‘assert’
2028 | assert (!vf->isFinal || !isalpha(t)) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2031:3: note: in expansion of macro ‘assert’
2031 | assert (li) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2038:7: note: in expansion of macro ‘assert’
2038 | { assert (listLen >= 0) ;
| ^~~~~~
ONElib.c: In function ‘oneFileClose’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2486:3: note: in expansion of macro ‘assert’
2486 | assert (vf->share >= 0) ;
| ^~~~~~
ONElib.c: In function ‘intGet’:
ONElib.c:3488:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
3488 | case 0: die ("int packing error") ;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
ONElib.c:3489:9: note: here
3489 | case 1: *pval = *(I64*)(u+1) & 0x0000000000ffff ; return 3 ;
| ^~~~
ONElib.c:3500:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
3500 | case 0: die ("int packing error") ;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
ONElib.c:3501:9: note: here
3501 | case 1: *pval = *(I64*)(u+1) | 0xffffffffffff0000 ; return 3 ;
| ^~~~
ONElib.c:3486:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
3486 | switch (u[0] & 0x07)
| ^~~~~~
ONElib.c:3497:5: note: here
3497 | case 4:
| ^~~~
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3501:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3501 | case 1: *pval = *(I64*)(u+1) | 0xffffffffffff0000 ; return 3 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3502:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3502 | case 2: *pval = *(I64*)(u+1) | 0xffffffffff000000 ; return 4 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3503:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3503 | case 3: *pval = *(I64*)(u+1) | 0xffffffff00000000 ; return 5 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3504:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3504 | case 4: *pval = *(I64*)(u+1) | 0xffffff0000000000 ; return 6 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3505:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3505 | case 5: *pval = *(I64*)(u+1) | 0xffff000000000000 ; return 7 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3506:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3506 | case 6: *pval = *(I64*)(u+1) | 0xff00000000000000 ; return 8 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3507:23: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3507 | case 7: *pval = *(I64*)(u+1) ; return 9 ;
| ~~~~~~^~~~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
ONElib.c: In function ‘oneSchemaCreateDynamic’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:390:3: note: in expansion of macro ‘assert’
390 | assert (fileType && strlen(fileType) > 0) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:391:3: note: in expansion of macro ‘assert’
391 | assert (!subType || strlen(subType) > 0) ;
| ^~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:943:3: note: in expansion of macro ‘assert’
943 | assert (!vf->isWrite) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:944:3: note: in expansion of macro ‘assert’
944 | assert (!vf->isFinal) ;
| ^~~~~~
ONElib.c: In function ‘oneFileOpenRead’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1156:3: note: in expansion of macro ‘assert’
1156 | assert (fileType == NULL || strlen(fileType) > 0) ;
| ^~~~~~
ONElib.c: In function ‘addProvenance’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1758:3: note: in expansion of macro ‘assert’
1758 | assert (!vf->isHeaderOut) ;
| ^~~~~~
ONElib.c: In function ‘oneAddProvenance’:
ONElib.c:1792:29: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]
1792 | va_start (args, format) ; vasprintf (&p.command, format, args) ; va_end (args) ;
| ^~~~~~~~~
| vsprintf
ONElib.c: In function ‘addReference’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1809:3: note: in expansion of macro ‘assert’
1809 | assert (!vf->isHeaderOut) ;
| ^~~~~~
ONElib.c: In function ‘writeHeader’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1883:3: note: in expansion of macro ‘assert’
1883 | assert (vf->isWrite) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1884:3: note: in expansion of macro ‘assert’
1884 | assert (vf->line == 0) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:1885:3: note: in expansion of macro ‘assert’
1885 | assert (vf->share >= 0) ;
| ^~~~~~
ONElib.c: In function ‘oneWriteLine’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2027:3: note: in expansion of macro ‘assert’
2027 | assert (vf->isWrite) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2028:3: note: in expansion of macro ‘assert’
2028 | assert (!vf->isFinal || !isalpha(t)) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2031:3: note: in expansion of macro ‘assert’
2031 | assert (li) ;
| ^~~~~~
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2038:7: note: in expansion of macro ‘assert’
2038 | { assert (listLen >= 0) ;
| ^~~~~~
ONElib.c: In function ‘oneFileClose’:
ONElib.c:35:19: warning: statement with no effect [-Wunused-value]
35 | #define assert(x) 0
| ^
ONElib.c:2486:3: note: in expansion of macro ‘assert’
2486 | assert (vf->share >= 0) ;
| ^~~~~~
ONElib.c: In function ‘intGet’:
ONElib.c:3488:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
3488 | case 0: die ("int packing error") ;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
ONElib.c:3489:9: note: here
3489 | case 1: *pval = *(I64*)(u+1) & 0x0000000000ffff ; return 3 ;
| ^~~~
ONElib.c:3500:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
3500 | case 0: die ("int packing error") ;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
ONElib.c:3501:9: note: here
3501 | case 1: *pval = *(I64*)(u+1) | 0xffffffffffff0000 ; return 3 ;
| ^~~~
ONElib.c:3486:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
3486 | switch (u[0] & 0x07)
| ^~~~~~
ONElib.c:3497:5: note: here
3497 | case 4:
| ^~~~
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3501:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3501 | case 1: *pval = *(I64*)(u+1) | 0xffffffffffff0000 ; return 3 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3502:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3502 | case 2: *pval = *(I64*)(u+1) | 0xffffffffff000000 ; return 4 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3503:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3503 | case 3: *pval = *(I64*)(u+1) | 0xffffffff00000000 ; return 5 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3504:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3504 | case 4: *pval = *(I64*)(u+1) | 0xffffff0000000000 ; return 6 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3505:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3505 | case 5: *pval = *(I64*)(u+1) | 0xffff000000000000 ; return 7 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3506:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3506 | case 6: *pval = *(I64*)(u+1) | 0xff00000000000000 ; return 8 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3507:23: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3507 | case 7: *pval = *(I64*)(u+1) ; return 9 ;
| ~~~~~~^~~~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3501:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3501 | case 1: *pval = *(I64*)(u+1) | 0xffffffffffff0000 ; return 3 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3502:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3502 | case 2: *pval = *(I64*)(u+1) | 0xffffffffff000000 ; return 4 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3503:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3503 | case 3: *pval = *(I64*)(u+1) | 0xffffffff00000000 ; return 5 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3504:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3504 | case 4: *pval = *(I64*)(u+1) | 0xffffff0000000000 ; return 6 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3505:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3505 | case 5: *pval = *(I64*)(u+1) | 0xffff000000000000 ; return 7 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3506:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3506 | case 6: *pval = *(I64*)(u+1) | 0xff00000000000000 ; return 8 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7:
ONElib.c:3507:23: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3507 | case 7: *pval = *(I64*)(u+1) ; return 9 ;
| ~~~~~~^~~~~~~~~~~~~~
ONElib.c: In function ‘ltfRead’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3501:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3501 | case 1: *pval = *(I64*)(u+1) | 0xffffffffffff0000 ; return 3 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3502:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3502 | case 2: *pval = *(I64*)(u+1) | 0xffffffffff000000 ; return 4 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3503:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3503 | case 3: *pval = *(I64*)(u+1) | 0xffffffff00000000 ; return 5 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3504:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3504 | case 4: *pval = *(I64*)(u+1) | 0xffffff0000000000 ; return 6 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3505:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3505 | case 5: *pval = *(I64*)(u+1) | 0xffff000000000000 ; return 7 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3506:25: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3506 | case 6: *pval = *(I64*)(u+1) | 0xff00000000000000 ; return 8 ;
| ^~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
In function ‘intGet’,
inlined from ‘ltfRead’ at ONElib.c:3546:7,
inlined from ‘readCompressedFields’ at ONElib.c:894:15,
inlined from ‘oneReadLine’ at ONElib.c:1037:2:
ONElib.c:3507:23: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
3507 | case 7: *pval = *(I64*)(u+1) ; return 9 ;
| ~~~~~~^~~~~~~~~~~~~~
ONElib.c: In function ‘oneReadLine’:
ONElib.c:3541:17: note: ‘u’ declared here
3541 | unsigned char u[16] ;
| ^
ONElib.c: In function ‘oneFileOpenWriteFrom’:
ONElib.c:393:33: warning: ‘%ld’ directive writing between 1 and 19 bytes into a region of size between 7 and 25 [-Wformat-overflow=]
393 | sprintf (text, "P %ld %s\nS %ld %s\n", strlen(fileType),fileType, strlen(subType), subType) ;
| ^~~
In function ‘oneSchemaCreateDynamic’,
inlined from ‘oneFileOpenWriteFrom’ at ONElib.c:1655:20: ONElib.c:393:20: note: directive argument in the range [0, 9223372036854775805]
393 | sprintf (text, "P %ld %s\nS %ld %s\n", strlen(fileType),fileType, strlen(subType), subType) ;
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from ONElib.h:20,
from ONElib.c:38:
In function ‘sprintf’,
inlined from ‘oneSchemaCreateDynamic’ at ONElib.c:393:5,
inlined from ‘oneFileOpenWriteFrom’ at ONElib.c:1655:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 47) into a destination of size 32
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [Makefile:28: LA2ONE] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 14:23:33 |
Calls: | 6,706 |
Files: | 12,237 |
Messages: | 5,351,098 |