diff options
Diffstat (limited to 'etc/ACE-guidelines.html')
-rw-r--r-- | etc/ACE-guidelines.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/ACE-guidelines.html b/etc/ACE-guidelines.html index a2468ac825c..b3b3d13cc37 100644 --- a/etc/ACE-guidelines.html +++ b/etc/ACE-guidelines.html @@ -116,6 +116,12 @@ bgcolor="#ffffff"> <strong><code>#include</code></strong> and <strong><code>filename</code></strong>, as shown in the above example. This avoids dependency problems with Visual C++.<p> + + <li>Be very careful with names of macros and enum values. It's + always best to prefix them with something like <code>ACE_</code> + or <code>TAO_<code>. There are too many system headers out + there that #define <code>OK</code>, <code>SUCCESS</code>, + <code>ERROR</code>, and so on.<p> </ul> <li><strong>C++ Syntax and Constructs</strong><p> |