diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-25 12:42:18 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-25 12:42:18 +0000 |
commit | 90b5bd2b52913404df391b108d5a03e896dcbac0 (patch) | |
tree | c98d098b6cb64dac6a1dd197c6bb3e084cd54051 /docs/ACE-guidelines.html | |
parent | 25bd1680f630137a93f61e6969fe99c9ec1a8ecb (diff) | |
download | ATCD-90b5bd2b52913404df391b108d5a03e896dcbac0.tar.gz |
added guideline to include directories containing files with template
definitions in a -I.
Diffstat (limited to 'docs/ACE-guidelines.html')
-rw-r--r-- | docs/ACE-guidelines.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/ACE-guidelines.html b/docs/ACE-guidelines.html index 12f0f073311..1bb73aea4c4 100644 --- a/docs/ACE-guidelines.html +++ b/docs/ACE-guidelines.html @@ -587,7 +587,7 @@ bgcolor="#ffffff"> should be avoided for non-template classes.<p> <li>Never use <code>bool</code>, <code>BOOL</code>, or similar - types. (CORBA::Boolean is acceptable). Use <code>int</code> + types. (CORBA::Boolean is acceptable). Use <code>int</code> or <code>u_int</code> instead for boolean types.<p> <li>Functions should always return -1 to indicate failure, and @@ -596,6 +596,11 @@ bgcolor="#ffffff"> <li>Separate the code of your templates from the code for non-parametric classes: some compilers get confused when template and non-template code is mixed in the same file.<p> + + <li>It's a good idea to specify the include path (with <code>-I</code>) + to include any directory which contains files with template + definitions. The <code>-ptv</code> Digital Unix cxx compiler option + may help diagnose missing template instantiation problems.<p> </li> </ul> |