orocos-toolchain / orogen

Code generator for components and type handling in Rock - the Robot Construction Kit - and the Orocos Toolchain
http://rock-robotics.org
Other
4 stars 35 forks source link

To be discuss: Replaced all classical headers guards by #pragma once directives #31

Closed goldhoorn closed 9 years ago

doudou commented 9 years ago

This is autogenerated code. There's zero benefit for anyone, and only possible drawbacks.

The safest 'include once' method is still the manual ifndef/endif thing. In the case of orogen, it's not even manual so how is that better ?

jbohren commented 9 years ago

-1

http://stackoverflow.com/questions/23696115/is-pragma-once-part-of-the-c11-standard

doudou commented 9 years ago

That would be two -1 ... I'm closing this, reopen if you have a compelling reason to.