summaryrefslogtreecommitdiff
path: root/docs/ACE-guidelines.html
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-25 12:42:18 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-25 12:42:18 +0000
commitfbc1faf5282f434a697d60c7f83faeb1939ed1ac (patch)
treec98d098b6cb64dac6a1dd197c6bb3e084cd54051 /docs/ACE-guidelines.html
parentac9609797d130ac547431b9a762a72187fc4ec6f (diff)
downloadATCD-fbc1faf5282f434a697d60c7f83faeb1939ed1ac.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.html7
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>