diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-10-05 12:52:30 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-10-05 12:52:30 -0400 |
commit | e51c8c38a44ee1734d3b2af949e45b8984629c87 (patch) | |
tree | bc5de6fa0285415fd8132f5f277aabc84ec39177 /source/lang | |
parent | 5131f81a73f62890e1fcacbb93522734bf82ffc0 (diff) | |
download | librambutan-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>
Diffstat (limited to 'source/lang')
-rw-r--r-- | source/lang/cpp/built-in-types.rst | 12 |
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. |