Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos system: make errors: template.spec:22:1: error: format not a string literal, argument #987

Open
wassili520 opened this issue Jun 20, 2024 · 1 comment
Assignees

Comments

@wassili520
Copy link

wassili520 commented Jun 20, 2024

In file included from decode.c:287:0:
template.spec: In function ‘template_private’:
template.spec:22:1: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
FIELD_RS (MEASUREMENT, 0); // copied to header_vars
^
template.spec:22:1: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
In file included from decode.c:320:0:
header.spec: In function ‘decode_R13_R2000’:
header.spec:22:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
FIELD_RC (is_maint, 0);
^
header.spec:22:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
header.spec:25:5: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]

@rurban
Copy link
Contributor

rurban commented Jun 20, 2024

Which centos and gcc version exactly? I'll have to relax the warnings there

@rurban rurban self-assigned this Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants