From e51c8c38a44ee1734d3b2af949e45b8984629c87 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 5 Oct 2011 12:52:30 -0400 Subject: 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 --- source/lang/cpp/built-in-types.rst | 12 ++++++++++-- 1 file 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. -- cgit v1.2.3