Compiling as an ANSI (non-unicode) wxWidget like build results in warning not normally displayed showing up.
Index: src/plugins/contrib/source_exporter/wxPdfDocument/src/pdfkernel.cpp
===================================================================
--- src/plugins/contrib/source_exporter/wxPdfDocument/src/pdfkernel.cpp	(revision 5208)
+++ src/plugins/contrib/source_exporter/wxPdfDocument/src/pdfkernel.cpp	(working copy)
@@ -758,7 +758,7 @@
 
     NewObj();
     OutAscii(wxString(_T("<<")) + filter + wxString(_T("/Length ")) +
-             wxString::Format(_T("%ld"), CalculateStreamLength(p->TellO())) + wxString(_T(">>")));
+             wxString::Format(_T("%d"), CalculateStreamLength(p->TellO())) + wxString(_T(">>")));
     PutStream(*p);
     Out("endobj");
     if (m_compress)
@@ -927,7 +927,7 @@
         Out("/Decode[0 1 0 1 0 1 0 1 0 1]");
         Out("/BitsPerFlag 8");
         wxMemoryOutputStream* p = grad->GetBuffer();
-        OutAscii(wxString::Format(_T("/Length %ld"), CalculateStreamLength(p->TellO())));
+        OutAscii(wxString::Format(_T("/Length %d"), CalculateStreamLength(p->TellO())));
         Out(">>");
         PutStream(*p);
         Out("endobj");
@@ -1549,7 +1549,7 @@
       p = &(currentTemplate->m_buffer);
     }
 
-    OutAscii(wxString::Format(_T("/Length %ld >>"), CalculateStreamLength(p->TellO())));
+    OutAscii(wxString::Format(_T("/Length %d >>"), CalculateStreamLength(p->TellO())));
     PutStream(*p);
     Out("endobj");
     if (m_compress)
Index: src/plugins/contrib/dragscroll/dragscroll.cpp
===================================================================
--- src/plugins/contrib/dragscroll/dragscroll.cpp	(revision 5208)
+++ src/plugins/contrib/dragscroll/dragscroll.cpp	(working copy)
@@ -244,7 +244,7 @@
 	PluginInfo* pInfo = (PluginInfo*)(Manager::Get()->GetPluginManager()->GetPluginInfo(this));
 	pInfo->version = wxT(VERSION);
 	// Allow other plugins to find our Event ID
-	m_DragScrollFirstId = wxString::Format( _T("%ld"), wxEVT_DRAGSCROLL_EVENT);
+	m_DragScrollFirstId = wxString::Format( _T("%d"), wxEVT_DRAGSCROLL_EVENT);
 	pInfo->authorWebsite = m_DragScrollFirstId;
 
 	#if defined(LOGGING)
Index: src/plugins/contrib/symtab/symtabexec.cpp
===================================================================
--- src/plugins/contrib/symtab/symtabexec.cpp	(revision 5208)
+++ src/plugins/contrib/symtab/symtabexec.cpp	(working copy)
@@ -539,7 +539,7 @@
 
         if (item!=-1)
         {
-          s_item.Printf(_T("%6d"), item);
+          s_item.Printf(_T("%6ld"), item);
           m_ListCtrl->SetItem(item, 0, s_item);
 
           // Symbols can have colons in it, too        -> like Class::Method()
Index: src/plugins/contrib/codesnippets/Search/ThreadSearchView.cpp
===================================================================
--- src/plugins/contrib/codesnippets/Search/ThreadSearchView.cpp	(revision 5208)
+++ src/plugins/contrib/codesnippets/Search/ThreadSearchView.cpp	(working copy)
@@ -538,7 +538,7 @@
     {
         long snippetID = it->second;
         CodeSnippetsEvent evt(wxEVT_CODESNIPPETS_SELECT, snippetID);
-        wxString strID = wxString::Format(_T("type=\"snippet\" ID=\"%d\""), snippetID);
+        wxString strID = wxString::Format(_T("type=\"snippet\" ID=\"%ld\""), snippetID);
         evt.SetSnippetString( strID );
         evt.PostCodeSnippetsEvent(evt);
     }