diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-04-01 13:40:54 +0300 |
|---|---|---|
| committer | ghpzin <ghpzin@gmail.com> | 2025-04-01 20:08:55 +0300 |
| commit | 74c5c8069d5d6503af52cc58d09d07b7cf5d2303 (patch) | |
| tree | 593ee082549f324fe5c9470dff6fe00cefccd178 /pkgs/development/python-modules/rangehttpserver | |
| parent | a793ee3962cf3be3d0e9ed1022147ea9cd34eea9 (diff) | |
jbofihe: fix build with gcc14
- add patch fixing gcc14 errors:
`implicit-int`:
```
rpc_tab.c:1:8: error: type defaults to 'int' in declaration of
'elide_trace_reduce' [-Wimplicit-int]
1 | extern elide_trace_reduce(int, int);
| ^~~~~~~~~~~~~~~~~~
rpc_tab.c:2:8: error: type defaults to 'int' in declaration of
'elide_trace_shift' [-Wimplicit-int]
2 | extern elide_trace_shift(int,int);
| ^~~~~~~~~~~~~~~~~
rpc_tab.c:3:8: error: type defaults to 'int' in declaration of
'report_trace_shift' [-Wimplicit-int]
3 | extern report_trace_shift(int);
| ^~~~~~~~~~~~~~~~~~
rpc_tab.c:4:8: error: type defaults to 'int' in declaration of
'report_trace_reduce' [-Wimplicit-int]
4 | extern report_trace_reduce(int, int);
| ^~~~~~~~~~~~~~~~~~~
rpc_tab.c:5:8: error: type defaults to 'int' in declaration of
'report_trace_error' [-Wimplicit-int]
5 | extern report_trace_error(short *yyss, short *yyssp);
| ^~~~~~~~~~~~~~~~~~
```
`implicit-function-declaration`:
```
parse.tab.c: In function 'yyparse':
parse.tab.c:1148:16: error: implicit declaration of function 'yylex'
[-Wimplicit-function-declaration]
1148 | yychar = yylex ();
| ^~~~~
parse.tab.c:1595:7: error: implicit declaration of function 'yyerror';
did you mean 'yyerrok'? [-Wimplicit-function-declaration]
1595 | yyerror (YY_("syntax error"));
| ^~~~~~~
| yyerrok
n2d.c: In function 'main':
n2d.c:1529:12: error: implicit declaration of function 'yyparse'
[-Wimplicit-function-declaration]
1529 | result = yyparse();
| ^~~~~~~
```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
