aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-10-05 12:52:30 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-10-05 12:52:30 -0400
commite51c8c38a44ee1734d3b2af949e45b8984629c87 (patch)
treebc5de6fa0285415fd8132f5f277aabc84ec39177
parent5131f81a73f62890e1fcacbb93522734bf82ffc0 (diff)
downloadlibrambutan-e51c8c38a44ee1734d3b2af949e45b8984629c87.tar.gz
librambutan-e51c8c38a44ee1734d3b2af949e45b8984629c87.zip
Hack: silence warnings about 'void'.
Add a void cpp:type:: declaration to build-in-types.rst in order to silence the voluminous warnings about not knowing what type void is. Probably we should see if this is in the Sphinx bug tracker. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--source/lang/cpp/built-in-types.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/lang/cpp/built-in-types.rst b/source/lang/cpp/built-in-types.rst
index 28e8cdc..f14dce5 100644
--- a/source/lang/cpp/built-in-types.rst
+++ b/source/lang/cpp/built-in-types.rst
@@ -86,8 +86,8 @@ Floating-Point Types
64-bit, IEEE-754 double-precision floating-point type.
-Other Types
------------
+Miscellaneous Types
+-------------------
.. cpp:type:: voidFuncPtr
@@ -98,3 +98,11 @@ Other Types
.. cpp:type:: bool
Boolean type.
+
+Other
+-----
+
+.. cpp:type:: void
+
+ Not really a type. To be honest with you, this only exists here to
+ silence warnings from our documentation build system.