Index: interfaces/document.h
===================================================================
RCS file: /home/kde/kdelibs/kate/interfaces/document.h,v
retrieving revision 1.83
diff -u -r1.83 document.h
--- interfaces/document.h	13 Feb 2005 22:53:50 -0000	1.83
+++ interfaces/document.h	26 Mar 2005 15:04:37 -0000
@@ -154,7 +154,7 @@
      *
      * @param cmdname The command name associated with this request.
      */
-    virtual KCompletion *completionObject( const QString & cmdname, Kate::View */*view*/ ) { Q_UNUSED(cmdname); return 0L; }
+    virtual KCompletion *completionObject( const QString & cmdname, Kate::View * /*view*/ ) { Q_UNUSED(cmdname); return 0L; }
 
     /**
      * @return whether this command wants to process text interactively given the @p cmdname.
Index: part/katecmds.cpp
===================================================================
RCS file: /home/kde/kdelibs/kate/part/katecmds.cpp,v
retrieving revision 1.49
diff -u -r1.49 katecmds.cpp
--- part/katecmds.cpp	23 Mar 2005 22:30:54 -0000	1.49
+++ part/katecmds.cpp	26 Mar 2005 15:04:37 -0000
@@ -108,7 +108,11 @@
   }
   else if ( cmd == "run-myself" )
   {
+#ifndef Q_WS_WIN //todo
     return KateFactory::self()->jscript()->execute(v, v->doc()->text(), errorMsg);
+#else
+    return 0;
+#endif
   }
   else if ( cmd == "unindent" )
   {
Index: part/katecursor.h
===================================================================
RCS file: /home/kde/kdelibs/kate/part/katecursor.h,v
retrieving revision 1.27
diff -u -r1.27 katecursor.h
--- part/katecursor.h	24 Mar 2005 09:33:56 -0000	1.27
+++ part/katecursor.h	26 Mar 2005 15:04:37 -0000
@@ -54,11 +54,13 @@
     friend bool operator<=(const KateTextCursor& c1, const KateTextCursor& c2)
       { return !(c1 > c2); }
       
+#ifndef Q_WS_WIN //not needed
     friend void qSwap(KateTextCursor & c1, KateTextCursor & c2) {
       KateTextCursor tmp = c1;
       c1 = c2;
       c2 = tmp;
     }
+#endif
 
     inline void pos(int *pline, int *pcol) const {
       if(pline) *pline = m_line;
Index: part/katedocument.cpp
===================================================================
RCS file: /home/kde/kdelibs/kate/part/katedocument.cpp,v
retrieving revision 1.811
diff -u -r1.811 katedocument.cpp
--- part/katedocument.cpp	25 Mar 2005 16:37:38 -0000	1.811
+++ part/katedocument.cpp	26 Mar 2005 15:04:39 -0000
@@ -4871,7 +4871,7 @@
         else if ( var == "auto-insert-doxygen" && checkBoolValue( val, &state) )
           m_config->setConfigFlags( KateDocumentConfig::cfDoxygenAutoTyping, state);
         else if ( var == "mixed-indent" && checkBoolValue( val, &state ) )
-          m_config->setConfigFlags( KateDocumentConfig::cfMixedIndent, &state );
+          m_config->setConfigFlags( KateDocumentConfig::cfMixedIndent, state );
 
         // INTEGER SETTINGS
         else if ( var == "tab-width" && checkIntValue( val, &n ) )
Index: part/katefactory.cpp
===================================================================
RCS file: /home/kde/kdelibs/kate/part/katefactory.cpp,v
retrieving revision 1.75
diff -u -r1.75 katefactory.cpp
--- part/katefactory.cpp	17 Mar 2005 19:08:55 -0000	1.75
+++ part/katefactory.cpp	26 Mar 2005 15:04:39 -0000
@@ -133,9 +133,13 @@
   // vm allocator
   m_vm = new KVMAllocator ();
 
+#ifndef Q_WS_WIN //todo
   // create script man (search scripts) + register commands
   m_jscriptManager = new KateJScriptManager ();
   KateCmd::self()->registerCommand (m_jscriptManager);
+#else
+  m_jscriptManager = 0;
+#endif
 
   //
   // init the cmds
@@ -178,11 +182,13 @@
   for ( QValueList<Kate::Command *>::iterator it = m_cmds.begin(); it != m_cmds.end(); ++it )
     delete *it;
 
+#ifndef Q_WS_WIN //todo
   // cu manager
   delete m_jscriptManager;
 
   // cu jscript
   delete m_jscript;
+#endif
 }
 
 static KStaticDeleter<KateFactory> sdFactory;
@@ -240,10 +246,14 @@
 
 KateJScript *KateFactory::jscript ()
 {
+#ifndef Q_WS_WIN //todo
   if (m_jscript)
     return m_jscript;
 
   return m_jscript = new KateJScript ();
+#else
+  return 0;
+#endif
 }
 
 // kate: space-indent on; indent-width 2; replace-tabs on;
