[baz@jackodesktop SOURCES]$ ./mk-spec pcb-rnd lib64rnd-devel-4.2.0-1.mga10 In file included from hooks.c:32: /usr/include/librnd4/librnd/scconfig/hooks_common.h: In function ‘plugin_dep_set_rec1’: /usr/include/librnd4/librnd/scconfig/hooks_common.h:219:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 219 | st_child = get(buff); | ^ src/generator/generator.c: In function ‘do_sub’: src/generator/generator.c:471:50: warning: passing argument 1 of ‘memmove’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 471 | memmove(bopat[0] + slen, eopat[0], mlen); | ~~~~~~~~~^~~~~~ In file included from src/generator/generator.c:25: /usr/include/string.h:47:29: note: expected ‘void *’ but argument is of type ‘const char *’ 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) | ~~~~~~^~~~~~ src/generator/generator.c:473:29: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 473 | memcpy(bopat[0], csub, slen); | ~~~~~^~~ /usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’ 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, | ~~~~~~~~~~~~~~~~~^~~~~~ src/generator/generator.c:474:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 474 | start = bopat[0] + slen; | ^ ../SPECS/pcb-rnd.spec has been updated :)