719 | | ||C4180|| qualifier applied to function type has no meaning; ignored||This can always be suppressed - but check that you didn't mean to put the const somewhere else.||# pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored|| |
720 | | |
721 | | ||C4506|| no definition for inline function||If you cannot fix, suppress||# pragma warning(disable: 4506) // no definition for inline function|| |
| 722 | ||C4180|| qualifier applied to function type has no meaning; ignored||The meaningless qualifier can always be removed (or left as a comment if it informative) - but check that you didn't mean to put the const somewhere else. can always be suppressed.||# pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored|| |
| 723 | |
| 724 | ||C4189||local variable is initialized but not referenced||This probably indicates a redundant variable and assignment, so probably remove it. If you are sure it is required (or has negligible cost for some documentation benefit), suppress.||# pragma warning(disable: 4189) //local variable is initialized but not referenced|| |
| 725 | |
| 726 | ||C4224||nonstandard extension used : formal parameter 'arg' was previously defined as a type.||This will bite users who try to compile with Microsoft extensions disabled. So is most undesirable, but may be a major nuisance to change the names in code.However fixing is the Right Thing, but meanwhile suppressing may be helpful.||# pragma warning(disable: 4224) // formal parameter 'arg' was previously defined as a type.|| |
| 727 | |
| 728 | ||C4244|| Conversion: possible loss of data.||Fix, for example changing type or using static_cast is best, suppress with much caution.||# pragma warning(disable:4244) // Conversion: possible loss of data.|| |
| 729 | |
| 730 | ||C4324||structure was padded due to __declspec(align())||Suppress||#pragma warning(disable:4324) // structure was padded due to __declspec(align())|| |
| 731 | |
| 732 | ||C4506||no definition for inline function||Provide a definition, or if you cannot/will not, suppress.||# pragma warning(disable: 4506) // no definition for inline function|| |
725 | | ||c4511|| copy constructor could not be generated||This can almost certainly be suppressed.|| # pragma warning(disable: 4511) // copy constructor could not be generated|| |
726 | | |
727 | | ||C4701|| local variable may be used without having been initialized||Best is to recode to avoid the message, but if you are '''very''' sure the message is misleading, suppress.||# pragma warning(disable: 4701) // local variable may be used without having been initialized|| |
728 | | |
729 | | ||C4702|| unreachable code||Be very cautious about suppressing this, but use of macros may make this troublesome, so suppress with care, and always locally.||#pragma warning(disable: 4702) // unreachable code|| |
730 | | |
731 | | ||C4189|| local variable is initialized but not referenced||This probably indicates a redundant variable and assignment, so probably remove it. If you are sure it is required (or has negligible cost for some documentation benefit), suppress.|||| |
732 | | |
733 | | ||C4224|| nonstandard extension used : formal parameter 'arg' was previously defined as a type.||This will bite users who try to compile with Microsoft extensions disabled. So is most undesirable, but may be a major nuisance to change the names in code.However fixing is the Right Thing, but meanwhile suppressing may be helpful.||# pragma warning(disable: 4224) // formal parameter 'arg' was previously defined as a type.|| |
734 | | |
735 | | ||C4244 || // Conversion: possible loss of data.||Fix, for example changing type or using static_cast is best, suppress with much caution.||# pragma warning(disable:4244) // Conversion: possible loss of data.|| |
736 | | |
737 | | ||C4324|| structure was padded due to __declspec(align())||Suppress||#pragma warning(disable:4324) // structure was padded due to __declspec(align())|| |
738 | | |
739 | | ||C4510|| default constructor could not be generated||Suppress.||# pragma warning(disable: 4510) // default constructor could not be generated|| |
740 | | |
741 | | ||C4535|| calling _set_se_translator() requires /EHa || Common from Boost.Test. Suppress warning in jamfile, add to project : requirements || <toolset>msvc:<asynch-exceptions>on # calling _set_se_translator() requires /EHa|| |
742 | | |
743 | | ||C4800|| int' : forcing value to bool 'true' or 'false'||Suppress. writing (intexpr ? true : false) helps as well||# pragma warning(disable: 4800) // int' : forcing value to bool 'true' or 'false' |
| 736 | ||c4511||copy constructor could not be generated||Provide constructor (and assignment operator and destructor). Or suppress.|| # pragma warning(disable: 4511) // copy constructor could not be generated|| |
| 737 | |
| 738 | ||C4510||default constructor could not be generated||Suppress.||# pragma warning(disable: 4510) // default constructor could not be generated|| |
| 739 | |
| 740 | ||C4535||calling _set_se_translator() requires /EHa ||Common from Boost.Test. In jamfile, add to project : requirements || <toolset>msvc:<asynch-exceptions>on # calling _set_se_translator() requires /EHa|| |
| 741 | |
| 742 | ||C4625||copy constructor could not be generated because a base class copy constructor is inaccessible||Trying to derive from a non-copyable class? Bug?||Fix.|| |
| 743 | |
| 744 | ||C4626||assignmentconstructor could not be generated because a base class copy constructor is inaccessible||Trying to derive from a non-copyable class? Bug?||Fix.|| |
| 745 | |
| 746 | ||C4701||local variable may be used without having been initialized||Best is to recode to avoid the message, probably just initialising it. But if you are '''very''' sure the message is misleading, and cost of dummy initialisation too high, suppress.||# pragma warning(disable: 4701) // local variable may be used without having been initialized|| |
| 747 | |
| 748 | ||C4702||unreachable code||Best delete or comment-out. Be very cautious about suppressing this, but use of macros may make this troublesome, so suppress with care, and always locally.||#pragma warning(disable: 4702) // unreachable code|| |
| 749 | |
| 750 | ||C4800|| int' : forcing value to bool 'true' or 'false'||Use a bool valued expression, or static_cast. Writing (intexpr ? true : false) helps as well. Or suppress.||# pragma warning(disable: 4800) // int' : forcing value to bool 'true' or 'false' |