Gecode / gecode

Generic Constraint Development Environment
https://www.gecode.org
Other
283 stars 76 forks source link

Issue 63: avoid double underscorde reserved identifiers #70

Closed zayenz closed 4 years ago

zayenz commented 4 years ago

Avoid double underscorde in include guards

Identifiers with double underscores are reserved, and using them is undefined behaviour. Similarly, and for reference, identifiers using a single underscore followed by an uppercase letters are also reserved. See more at https://en.cppreference.com/w/cpp/language/identifiers

This change moves all the include guards from the format GECODE_KERNEL_HH to GECODE_KERNEL_HH.

Fixes issue #63

elfring commented 4 years ago

Thanks for your improvement of affected include guards.

Were any update candidates left over?