| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -O2 -Wall -pedantic -MT rsparms.o -MD -MP -MF .deps/rsparms.Tpo -c -o rsparms.o rsparms.c
rsparms.c: In function ‘nodes’:
rsparms.c:126:23: warning: format ‘%hd’ expects argument of type ‘short int *’, but argument 3 has type ‘short unsigned int *’ [-Wformat=]
if (sscanf(mask, "%hd", &rs_node.mask) != 1) {
^
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
This uses a setlocalversion script derived from the kernel's
scripts/setlocalversion.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
make[2]: Entering directory '/home/ralf/src/ax25/ax25-tools/rose'
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -MT rsparms.o -MD -MP -MF .deps/rsparms.Tpo -c -o rsparms.o rsparms.c
rsparms.c: In function ‘nodes’:
rsparms.c:71:3: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(stderr, nodes_usage);
^
rsparms.c:117:3: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(stderr, nodes_usage);
^
cc1: some warnings being treated as errors
Makefile:462: recipe for target 'rsparms.o' failed
make[2]: *** [rsparms.o] Error 1
make[2]: Leaving directory '/home/ralf/src/ax25/ax25-tools/rose'
The string is a constant in the application code itself so no security
issue
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25
_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -g -O2 -flto -MT rsparms.o -MD -MP
-MF .deps/rsparms.Tpo -c -o rsparms.o rsparms.c
rsparms.c: In function ‘printnb’:
rsparms.c:38:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c:38:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c:39:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c:39:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
rsparms.c: In function ‘nodes’:
rsparms.c:120:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
| |
The name of the option is -nodes, not -node. Really minor - the option
parser on looks at the first two characters.
|
|
|
|
|
|
| |
Glibc as old as 2.2 provides working headers under the right name and
if not libax25 would install headers under the right name so this has
become redundant and ugly.
|
| |
|
|
|