{"action":"opened","issue":{"url":"https://api.github.com/repos/open62541/open62541/issues/2315","repository_url":"https://api.github.com/repos/open62541/open62541","labels_url":"https://api.github.com/repos/open62541/open62541/issues/2315/labels{/name}","comments_url":"https://api.github.com/repos/open62541/open62541/issues/2315/comments","events_url":"https://api.github.com/repos/open62541/open62541/issues/2315/events","html_url":"https://github.com/open62541/open62541/issues/2315","id":392708828,"node_id":"MDU6SXNzdWUzOTI3MDg4Mjg=","number":2315,"title":"Setting O0 for ua_namespace0.c not appropriate","user":{"login":"tobijk1","id":39303709,"node_id":"MDQ6VXNlcjM5MzAzNzA5","avatar_url":"https://avatars2.githubusercontent.com/u/39303709?v=4","gravatar_id":"","url":"https://api.github.com/users/tobijk1","html_url":"https://github.com/tobijk1","followers_url":"https://api.github.com/users/tobijk1/followers","following_url":"https://api.github.com/users/tobijk1/following{/other_user}","gists_url":"https://api.github.com/users/tobijk1/gists{/gist_id}","starred_url":"https://api.github.com/users/tobijk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobijk1/subscriptions","organizations_url":"https://api.github.com/users/tobijk1/orgs","repos_url":"https://api.github.com/users/tobijk1/repos","events_url":"https://api.github.com/users/tobijk1/events{/privacy}","received_events_url":"https://api.github.com/users/tobijk1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T17:39:27Z","updated_at":"2018-12-19T17:39:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!--\r\n!ATTENTION!\r\nPlease read the following page carefully and provide us with all the\r\ninformation requested:\r\nhttps://github.com/open62541/open62541/wiki/Writing-Good-Issue-Reports\r\n\r\nUse Github Markdown to format your text:\r\nhttps://help.github.com/articles/basic-writing-and-formatting-syntax/\r\n\r\nFill out the sections and checklist below (add text at the end of each line).\r\n\r\n!ATTENTION!\r\n--------------------------------------------------------------------------------\r\n-->\r\n\r\nDescription\r\n===========\r\nStarting with PR 2302 the optimization for ua_namespace0.c gets overruled by a static rule in the cmake build file:\r\n`set_source_files_properties(${PROJECT_BINARY_DIR}/src_generated/ua_namespace0.c PROPERTIES COMPILE_FLAGS \"-fno-stack-protector -O0\")`\r\n\r\nThis O0 contradicts settings chosen by the user, e.g CMAKE_BUILD_TYPE = Release with default CMAKE_C_FLAGS_RELEASE = -O3 -DNDEBUG. Both these options can be set by the user, so taking away the \"freedom of choice\" seems wrong.\r\n\r\nPS: If you want quick builds for some reason, just overwrite CMAKE_{C/CXX}_FLAGS_*\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"tobijk1"}}