From: Vadim Zeitlin Date: Fri, 31 Oct 2003 15:17:59 +0000 (+0000) Subject: warning about VC++ /ZI option and wxCOMPILE_TIME_ASSERT added X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/150018aebbae19ac08b4e8a7717f0f8e25d2bd9a warning about VC++ /ZI option and wxCOMPILE_TIME_ASSERT added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index fa1d4ec4ed..7b2f4c1d31 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -3968,6 +3968,11 @@ use it on the same line in two different source files. In this case you may either change the line in which either of them appears on or use the \helpref{wxCOMPILE\_TIME\_ASSERT2}{wxcompiletimeassert2} macro. +Also note that Microsoft Visual C++ has a bug which results in compiler errors +if you use this macro with ``Program Database For Edit And Continue'' +(\texttt{/ZI}) option, so you shouldn't use it (``Program Database'' +(\texttt{/Zi}) is ok though) for the code making use of this macro. + \wxheading{See also} \helpref{wxASSERT\_MSG}{wxassertmsg},\\