[Freeipa-devel] [PATCH 0094] Migrate from #ifndef guards to #pragma once
Nathaniel McCallum
npmccallum at redhat.com
Tue May 24 14:29:31 UTC 2016
Using a pragma instead of guards is easier to write, less error prone
and avoids name clashes (a source of very subtle bugs). This pragma
is supported on almost all compilers, including all the compilers we
care about: https://en.wikipedia.org/wiki/Pragma_once#Portability.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-npmccallum-0094-Migrate-from-ifndef-guards-to-pragma-once.patch
Type: text/x-patch
Size: 10458 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160524/8e8eef60/attachment.bin>
More information about the Freeipa-devel
mailing list