diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-02 02:13:36 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-02 02:13:36 +0000 |
commit | 4a28e2b72d402d771dd5f46ea4a743ded1452ce2 (patch) | |
tree | 2f9bfa4899641b8bc5553e17a18749b7c4b59904 /etc | |
parent | db719531162ae7fc8f40a5d20340ebc6ac7d6579 (diff) | |
download | ATCD-4a28e2b72d402d771dd5f46ea4a743ded1452ce2.tar.gz |
prefix macro names and enum values with ACE_ or TAO_
Diffstat (limited to 'etc')
-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> |