OpenParsec / openparsec

GNU General Public License v2.0
53 stars 8 forks source link

sl_opt.cpp:454:11: error: format not a string literal and no format arguments #80

Closed Vitexus closed 2 years ago

Vitexus commented 2 years ago

Compilation fail during Debian package build on:

sl_opt.cpp
../../../../src/parsec/sl_opt.cpp: In function ‘void SYSs_CheckCommandLine(int, char**)’:
../../../../src/parsec/sl_opt.cpp:454:11: error: format not a string literal and no format arguments [-Werror=format-security]
  454 |   printf( options_invalid );
      |           ^~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
make[3]: *** [Makefile:776: obj/x64/Release/sl_opt.o] Chyba 1