[vtk-developers] void const TestVoidConstReturn() warning

David Doria daviddoria at gmail.com
Wed Dec 28 12:21:53 EST 2011

I missed some warnings on a recent patch because I turned off -Werror
because line 612 in TestCxxFeatures.cxx warns:

// gcc>=4.3 says type qualifiers ignored on function return type
#if !defined(__HP_aCC)
void const TestVoidConstReturn() {}

I am indeed using gcc >= 4.3 and I get (as it says in the comment) a
warning about the type qualifier being ignored. Is there anything that can
be done to suppress this warning on gcc >= 4.3?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20111228/1e140c70/attachment.html>

More information about the vtk-developers mailing list