Skip to content

Fix format-security error#932

Closed
xctan wants to merge 1 commit intoKLayout:masterfrom
xctan:fix-format-security
Closed

Fix format-security error#932
xctan wants to merge 1 commit intoKLayout:masterfrom
xctan:fix-format-security

Conversation

@xctan
Copy link

@xctan xctan commented Nov 10, 2021

This pr tries to fix format-security errors when klayout is compiled with -Werror=format-security flag.

@klayoutmatthias
Copy link
Collaborator

Thanks for this PR, but I cannot accept it.

Problem is that file is auto-generated from Qt headers and must not be edited (as the comment at the top says).

The root problem is an incomplete mapping of the Qt C++ API (the "..." are skipped by the translator script). This is harder to fix than through this patch.

I have created a ticket for the real patch: #933

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 this pull request may close these issues.

2 participants