Summary: | sys-devel/gcc-9.3.0 : /.../expr.c: error: format not a string literal and no format arguments [-Werror=format-security] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 713576 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sys-devel:gcc-9.3.0:20200322-135529.log temp.tbz2 |
Description
Toralf Förster
2020-03-22 14:46:05 UTC
Created attachment 624478 [details]
emerge-info.txt
Created attachment 624480 [details]
emerge-history.txt
Created attachment 624482 [details]
environment
Created attachment 624484 [details]
etc.portage.tbz2
Created attachment 624486 [details]
logs.tbz2
Created attachment 624488 [details]
sys-devel:gcc-9.3.0:20200322-135529.log
Created attachment 624490 [details]
temp.tbz2
""" /var/tmp/portage/sys-devel/gcc-9.3.0/work/gcc-9.3.0/libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’: /var/tmp/portage/sys-devel/gcc-9.3.0/work/gcc-9.3.0/libcpp/expr.c:797:18: error: format not a string literal and no format arguments [-Werror=format-security] 797 | 0, message); | ^ /var/tmp/portage/sys-devel/gcc-9.3.0/work/gcc-9.3.0/libcpp/expr.c:800:39: error: format not a string literal and no format arguments [-Werror=format-security] 800 | virtual_location, 0, message); | ^ """ `-Werror=format-security` is not very compatible with NLS marking: """ if ((result & CPP_N_WIDTH) == CPP_N_LARGE && CPP_OPTION (pfile, cpp_warn_long_long)) { const char *message = CPP_OPTION (pfile, cplusplus) ? N_("use of C++11 long long integer constant") : N_("use of C99 long long integer constant"); if (CPP_OPTION (pfile, c99)) cpp_warning_with_line (pfile, CPP_W_LONG_LONG, virtual_location, 0, message); else cpp_pedwarning_with_line (pfile, CPP_W_LONG_LONG, virtual_location, 0, message); } result |= CPP_N_INTEGER; """ |