{"action":"created","issue":{"url":"https://api.github.com/repos/dealii/dealii/issues/2382","repository_url":"https://api.github.com/repos/dealii/dealii","labels_url":"https://api.github.com/repos/dealii/dealii/issues/2382/labels{/name}","comments_url":"https://api.github.com/repos/dealii/dealii/issues/2382/comments","events_url":"https://api.github.com/repos/dealii/dealii/issues/2382/events","html_url":"https://github.com/dealii/dealii/issues/2382","id":142083775,"number":2382,"title":"Several warnings when compiling using CUDAs nvcc","user":{"login":"kalj","id":373500,"avatar_url":"https://avatars.githubusercontent.com/u/373500?v=3","gravatar_id":"","url":"https://api.github.com/users/kalj","html_url":"https://github.com/kalj","followers_url":"https://api.github.com/users/kalj/followers","following_url":"https://api.github.com/users/kalj/following{/other_user}","gists_url":"https://api.github.com/users/kalj/gists{/gist_id}","starred_url":"https://api.github.com/users/kalj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalj/subscriptions","organizations_url":"https://api.github.com/users/kalj/orgs","repos_url":"https://api.github.com/users/kalj/repos","events_url":"https://api.github.com/users/kalj/events{/privacy}","received_events_url":"https://api.github.com/users/kalj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-19T17:27:53Z","updated_at":"2016-03-20T03:05:29Z","closed_at":null,"body":"When compiling code using Deal.II with the nvcc compiler of Nvidia CUDA, several new warnings appear.\r\n\r\n1. Unreachable statements\r\n2. Implicit type casts\r\n3. Unused function parameters\r\n\r\n1 and 2 are quite straightforward to fix, and the pull request #2380 does this.\r\n\r\nOn the other hand, 3 requires some way of hiding parameters at compile time depending on whether a DEBUG or RELEASE build is being done. I have a suggestion in pull request #2381 .\r\n\r\nOf course, these are just the code lines which give warnings in my case, so I'm sure there are others of the same type, but this is a start.\r\n\r\nPS. This is my first issue report / pull request, so if I should split the issue and/or pull request into several smaller ones, just tell me!"},"comment":{"url":"https://api.github.com/repos/dealii/dealii/issues/comments/198838600","html_url":"https://github.com/dealii/dealii/issues/2382#issuecomment-198838600","issue_url":"https://api.github.com/repos/dealii/dealii/issues/2382","id":198838600,"user":{"login":"bangerth","id":7504421,"avatar_url":"https://avatars.githubusercontent.com/u/7504421?v=3","gravatar_id":"","url":"https://api.github.com/users/bangerth","html_url":"https://github.com/bangerth","followers_url":"https://api.github.com/users/bangerth/followers","following_url":"https://api.github.com/users/bangerth/following{/other_user}","gists_url":"https://api.github.com/users/bangerth/gists{/gist_id}","starred_url":"https://api.github.com/users/bangerth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangerth/subscriptions","organizations_url":"https://api.github.com/users/bangerth/orgs","repos_url":"https://api.github.com/users/bangerth/repos","events_url":"https://api.github.com/users/bangerth/events{/privacy}","received_events_url":"https://api.github.com/users/bangerth/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T03:05:29Z","updated_at":"2016-03-20T03:05:29Z","body":"These warnings only happen with a compiler few people use, and we don't know yet how they will be fixed upstream. This makes me hesitant.\r\n\r\nHow often do you get to see these warnings? Do they only happen when building the library, or also when compiling user code? Could we work around them using compiler flags that simply suppress the warnings?"}}