Changes between Version 11 and Version 12 of Guidelines/WarningsGuidelines
- Timestamp:
- Jan 13, 2011, 9:35:35 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Guidelines/WarningsGuidelines
v11 v12 191 191 For MSVC, this involves pushing to save the current warning state, disabling the warning, and later popping to restore (abbreviated as ''push'n'pop''). See [@http://msdn.microsoft.com/en-us/library/2c8f766e%28v=VS.100%29.aspx warnings] 192 192 193 '''BUT''' there is a limit to how many times (56) this can be used, so it is always much better to 'fix' than to suppress warnings.193 There is a limit to how many times (56) this can be used, so it is always much better to 'fix' than to suppress warnings. 194 194 195 195 "The compiler only supports up to 56 #pragma warning statements in a compiland" 196 196 197 This limit may be reached in practice with Boost code. 197 This limit might be reached in practice with Boost code. 198 199 But it is now believed that this limit value is incorrect and that there is no practical limit, see post by 200 [http://article.gmane.org/gmane.comp.lib.boost.devel/212485/match=gcc+warnings Stephan T. Lavavej] 201 202 On GCC there does not appear to be a practical limit, see post by 203 [http://article.gmane.org/gmane.comp.lib.boost.devel/212484/match=gcc+warnings Patrick Horgan]. 198 204 199 205 {{{ … … 692 698 '''Borland''' 693 699 694 695 700 Information needed here. 701 702 '''Sun''' 703 704 [http://docs.sun.com/app/docs/doc/802-5660/6i9debhqe?a=view some Sun workarounds] to some Sun compiler errors/warnings. 705 706