{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104/events","html_url":"https://github.com/RobotLocomotion/drake/issues/2104","id":148490377,"number":2104,"title":"Consider using #pragma once, instead of include guards","user":{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars.githubusercontent.com/u/17596505?v=3","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-14T21:43:01Z","updated_at":"2016-04-14T22:28:05Z","closed_at":null,"body":"I think we should consider whether Drake should use `#pragma once`.  (There was an [embedded discussion of this in a PR](https://github.com/RobotLocomotion/drake/pull/1876#issuecomment-197489381) with only weak participation.)\r\n\r\nI'll post two comments to receive thumbs-up votes for what people like better.  If you have pro/con discussions, post those as comments.\r\n\r\nGoogle style guide on the topic:\r\n- https://google.github.io/styleguide/cppguide.html#The__define_Guard\r\n\r\nWikipedia for a little background:\r\n- https://en.wikipedia.org/wiki/Pragma_once\r\n"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/210185035","html_url":"https://github.com/RobotLocomotion/drake/issues/2104#issuecomment-210185035","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104","id":210185035,"user":{"login":"liangfok","id":1388098,"avatar_url":"https://avatars.githubusercontent.com/u/1388098?v=3","gravatar_id":"","url":"https://api.github.com/users/liangfok","html_url":"https://github.com/liangfok","followers_url":"https://api.github.com/users/liangfok/followers","following_url":"https://api.github.com/users/liangfok/following{/other_user}","gists_url":"https://api.github.com/users/liangfok/gists{/gist_id}","starred_url":"https://api.github.com/users/liangfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangfok/subscriptions","organizations_url":"https://api.github.com/users/liangfok/orgs","repos_url":"https://api.github.com/users/liangfok/repos","events_url":"https://api.github.com/users/liangfok/events{/privacy}","received_events_url":"https://api.github.com/users/liangfok/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T22:28:05Z","updated_at":"2016-04-14T22:28:05Z","body":"The matrix of supported platforms is based on our current / anticipated amount of resources. It is not written in stone and may change as new opportunities arise. Thus, should we anticipate future changes that may result in the need to port Drake onto platforms that do not support `#pragma`? For example, maybe one day Drake will need to be ported onto some obscure embedded system?"}}