{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/netcdf-cxx4/issues/41","repository_url":"https://api.github.com/repos/Unidata/netcdf-cxx4","labels_url":"https://api.github.com/repos/Unidata/netcdf-cxx4/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf-cxx4/issues/41/comments","events_url":"https://api.github.com/repos/Unidata/netcdf-cxx4/issues/41/events","html_url":"https://github.com/Unidata/netcdf-cxx4/issues/41","id":183349975,"number":41,"title":"const return values","user":{"login":"julietbravo","id":1067637,"avatar_url":"https://avatars.githubusercontent.com/u/1067637?v=3","gravatar_id":"","url":"https://api.github.com/users/julietbravo","html_url":"https://github.com/julietbravo","followers_url":"https://api.github.com/users/julietbravo/followers","following_url":"https://api.github.com/users/julietbravo/following{/other_user}","gists_url":"https://api.github.com/users/julietbravo/gists{/gist_id}","starred_url":"https://api.github.com/users/julietbravo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julietbravo/subscriptions","organizations_url":"https://api.github.com/users/julietbravo/orgs","repos_url":"https://api.github.com/users/julietbravo/repos","events_url":"https://api.github.com/users/julietbravo/events{/privacy}","received_events_url":"https://api.github.com/users/julietbravo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T08:03:42Z","updated_at":"2016-10-17T18:29:16Z","closed_at":null,"body":"With Intel 17.0.0, I'm getting errors like:\r\n\r\n    ncDim.h(47): warning #858: type qualifier on return type is meaningless\r\n    const int getId() const {return myId;};\r\n\r\nfor every include of `<netcdf>`. Is there any reason why a `const int` is returned instead of a `int`?"},"comment":{"url":"https://api.github.com/repos/Unidata/netcdf-cxx4/issues/comments/254292207","html_url":"https://github.com/Unidata/netcdf-cxx4/issues/41#issuecomment-254292207","issue_url":"https://api.github.com/repos/Unidata/netcdf-cxx4/issues/41","id":254292207,"user":{"login":"DennisHeimbigner","id":905179,"avatar_url":"https://avatars.githubusercontent.com/u/905179?v=3","gravatar_id":"","url":"https://api.github.com/users/DennisHeimbigner","html_url":"https://github.com/DennisHeimbigner","followers_url":"https://api.github.com/users/DennisHeimbigner/followers","following_url":"https://api.github.com/users/DennisHeimbigner/following{/other_user}","gists_url":"https://api.github.com/users/DennisHeimbigner/gists{/gist_id}","starred_url":"https://api.github.com/users/DennisHeimbigner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DennisHeimbigner/subscriptions","organizations_url":"https://api.github.com/users/DennisHeimbigner/orgs","repos_url":"https://api.github.com/users/DennisHeimbigner/repos","events_url":"https://api.github.com/users/DennisHeimbigner/events{/privacy}","received_events_url":"https://api.github.com/users/DennisHeimbigner/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T18:29:16Z","updated_at":"2016-10-17T18:29:16Z","body":"The compiler is correct. The const qualifier is only\r\nmeaningful on pointers or structs. Primitive types\r\nlike int char float are immutable by nature."}}
{"actor":{"display_login":"DennisHeimbigner"}}