diff -r 4891d49809bb -r 2b3996fc09a1 core/com.nokia.carbide.cpp.compiler.doc.user/html/errors/err_mixed_use.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/errors/err_mixed_use.htm Mon Jul 19 15:31:48 2010 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/errors/err_mixed_use.htm Mon Jul 19 16:13:24 2010 -0500 @@ -1,22 +1,22 @@ - - - - - -Mixed Use of ‘class’ and ‘struct’ Keywords - - - -

Mixed Use of ‘class’ and ‘struct’ Keywords

-

If you enable the Inconsistent ‘class’ / ‘struct’ Usage setting, the compiler issues a warning if you use the class and struct keywords in the definition and declaration of the same identifier.

-

class X;
- struct X { int a; }; // warning

-

Use this warning when using static or dynamic libraries to link with object code produced by another C++ compiler that distinguishes between class and structure variables in its name “mangling.”

-

This setting corresponds to pragma warn_structclass. To check this setting, use __option (warn_structclass).

-

See Checking Option Settings for information on how to use this directive.
-

- - - - - + + + + + +Mixed Use of ‘class’ and ‘struct’ Keywords + + + +

Mixed Use of ‘class’ and ‘struct’ Keywords

+

If you enable the Inconsistent ‘class’ / ‘struct’ Usage setting, the compiler issues a warning if you use the class and struct keywords in the definition and declaration of the same identifier.

+

class X;
+ struct X { int a; }; // warning

+

Use this warning when using static or dynamic libraries to link with object code produced by another C++ compiler that distinguishes between class and structure variables in its name “mangling.”

+

This setting corresponds to pragma warn_structclass. To check this setting, use __option (warn_structclass).

+

See Checking Option Settings for information on how to use this directive.
+

+ + + + +