Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 02/15/2012 05:48 PM, Michael Stahl wrote:
     WaE: type name first seen using 'class' now seen using 'struct'

IMHO this is an utterly pointless warning, because the only difference
between "class" and "struct" is the default visibility of the members,
and a forward declaration doesn't declare any members, so i completely
fail to see what actual problem could be caused by this.

could this warning be turned off? (it is MSVC, right?)

Helps demonstrate your commitment to "attention to detail" to get these consistent. :) Btw, the warning is also available in Clang (-Wmismatched-tags).

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.