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

filemq doesn't build with gcc 7.1 due to Wformat-truncation #77

Closed
RomainNaour opened this issue Jul 4, 2017 · 0 comments · Fixed by #78
Closed

filemq doesn't build with gcc 7.1 due to Wformat-truncation #77

RomainNaour opened this issue Jul 4, 2017 · 0 comments · Fixed by #78

Comments

@RomainNaour
Copy link

Hi,

From: src/fmq_server_engine.inc:
//  Set log file prefix; this string will be added to log data, to make
//  log data more searchable. The string is truncated to ~20 chars.

The code intend to truncate the string to ~20 chars but this behaviour
throw an error with new compiler (gcc >= 7.1).

See:
http://autobuild.buildroot.net/results/434/43452430edf44cbcef6ea3a5ab80ac0ff406208f

This can be avoided by disabling this warning with -Wno-format-truncation.

Best regards,
Romain

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

Successfully merging a pull request may close this issue.

1 participant