////////////////////////////////////////////////////////////////////////////////
-// Name: list.cpp
+// Name: src/common/list.cpp
// Purpose: wxList implementation
// Author: Julian Smart
// Modified by: VZ at 16/11/98: WX_DECLARE_LIST() and typesafe lists added
{
Add(s);
+ // icc gives this warning in its own va_arg() macro, argh
+#ifdef __INTELC__
+ #pragma warning(push)
+ #pragma warning(disable: 1684)
+#endif
+
s = va_arg(ap, const wxChar *);
- // if (s == NULL)
-#ifdef __WXMSW__
- if ((int)(long) s == 0)
-#else
- if ((long) s == 0)
+
+#ifdef __INTELC__
+ #pragma warning(pop)
#endif
+
+ if ( !s )
break;
}
#else // wxUSE_STL = 1
- #include <wx/listimpl.cpp>
- WX_DEFINE_LIST(wxObjectList);
+ #include "wx/listimpl.cpp"
+ WX_DEFINE_LIST(wxObjectList)
// with wxUSE_STL wxStringList contains wxString objects, not pointers
void wxStringListBase::DeleteFunction( const wxString WXUNUSED(X) )
}
#endif // !wxUSE_STL
-