Index: trunk/BNC/src/bncantex.h
===================================================================
--- trunk/BNC/src/bncantex.h	(revision 9586)
+++ trunk/BNC/src/bncantex.h	(revision 9587)
@@ -27,4 +27,5 @@
 
 #include <QtCore>
+#include <QString>
 #include <string>
 #include <newmat.h>
Index: trunk/BNC/src/bnccore.cpp
===================================================================
--- trunk/BNC/src/bnccore.cpp	(revision 9586)
+++ trunk/BNC/src/bnccore.cpp	(revision 9587)
@@ -42,4 +42,5 @@
 #include <sstream>
 #include <QMessageBox>
+//#include <QString>
 #include <cmath>
 
@@ -186,9 +187,9 @@
     QByteArray msgLocal = msg;
     if (msg.indexOf('\n') == 0) {
-      *_logStream << endl;
+      *_logStream << Qt::endl;
       msgLocal = msg.mid(1);
     }
     *_logStream << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toLatin1().data();
-    *_logStream << msgLocal.data() << endl;
+    *_logStream << msgLocal.data() << Qt::endl;
     _logStream->flush();
     _logFile->flush();
@@ -391,5 +392,5 @@
       if ( ! (appendFlagGPS & QIODevice::Append)) {
         QString line;
-        line.sprintf(
+        line.asprintf(
           "%9.2f%11sN: GNSS NAV DATA    M: Mixed%12sRINEX VERSION / TYPE\n",
           defaultRnxNavVersion3, "", "");
@@ -400,5 +401,5 @@
                        << _userName.toLatin1().data()
                        << hlp.toLatin1().data()
-                       << "PGM / RUN BY / DATE" << endl;
+                       << "PGM / RUN BY / DATE" << Qt::endl;
 
         QStringListIterator it(comments);
@@ -407,5 +408,5 @@
         }
 
-        line.sprintf("%60sEND OF HEADER\n", "");
+        line.asprintf("%60sEND OF HEADER\n", "");
         *_ephStreamGPS << line;
 
@@ -419,5 +420,5 @@
       if (! (appendFlagGPS & QIODevice::Append)) {
         QString line;
-        line.sprintf("%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n",
+        line.asprintf("%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n",
                      defaultRnxNavVersion2, "", "");
         *_ephStreamGPS << line;
@@ -427,5 +428,5 @@
                        << _userName.toLatin1().data()
                        << hlp.toLatin1().data()
-                       << "PGM / RUN BY / DATE" << endl;
+                       << "PGM / RUN BY / DATE" << Qt::endl;
 
         QStringListIterator it(comments);
@@ -434,5 +435,5 @@
         }
 
-        line.sprintf("%60sEND OF HEADER\n", "");
+        line.asprintf("%60sEND OF HEADER\n", "");
         *_ephStreamGPS << line;
 
@@ -449,5 +450,5 @@
                            << _userName.toLatin1().data()
                            << hlp.toLatin1().data()
-                           << "PGM / RUN BY / DATE" << endl;
+                           << "PGM / RUN BY / DATE" << Qt::endl;
 
         QStringListIterator it(comments);
Index: trunk/BNC/src/orbComp/sp3Comp.cpp
===================================================================
--- trunk/BNC/src/orbComp/sp3Comp.cpp	(revision 9586)
+++ trunk/BNC/src/orbComp/sp3Comp.cpp	(revision 9587)
@@ -84,13 +84,13 @@
   }
   if (!_log) {
-    *_log  << "ERROR: SP3Comp requires logfile specification" << endl;
+    *_log  << "ERROR: SP3Comp requires logfile specification" << Qt::endl;
     goto exit;
   }
 
   for (int ii = 0; ii < _sp3FileNames.size(); ii++) {
-    *_log << "! SP3 File " << ii+1 << ": " << _sp3FileNames[ii] << endl;
+    *_log << "! SP3 File " << ii+1 << ": " << _sp3FileNames[ii] << Qt::endl;
   }
   if (_sp3FileNames.size() != 2) {
-    *_log << "ERROR: sp3Comp requires two input SP3 files" << endl;
+    *_log << "ERROR: sp3Comp requires two input SP3 files" << Qt::endl;
     goto end;
   }
@@ -102,20 +102,20 @@
   }
   catch (const string& error) {
-    *_log << "ERROR: " << error.c_str() << endl;
+    *_log << "ERROR: " << error.c_str() << Qt::endl;
   }
   catch (const char* error) {
-    *_log << "ERROR: " << error << endl;
+    *_log << "ERROR: " << error << Qt::endl;
   }
   catch (Exception& exc) {
-    *_log << "ERROR: " << exc.what() << endl;
+    *_log << "ERROR: " << exc.what() << Qt::endl;
   }
   catch (std::exception& exc) {
-    *_log << "ERROR: " << exc.what() << endl;
+    *_log << "ERROR: " << exc.what() << Qt::endl;
   }
   catch (QString error) {
-    *_log << "ERROR: " << error << endl;
+    *_log << "ERROR: " << error << Qt::endl;
   }
   catch (...) {
-    *_log << "ERROR: " << "unknown exception" << endl;
+    *_log << "ERROR: " << "unknown exception" << Qt::endl;
   }
 
Index: trunk/BNC/src/pppOptions.h
===================================================================
--- trunk/BNC/src/pppOptions.h	(revision 9586)
+++ trunk/BNC/src/pppOptions.h	(revision 9587)
@@ -31,5 +31,4 @@
       << "IF PPP"
       << "Uncombined PPP"
-      << "PPP-RTK"
       << "DCM with Code Biases"
       << "DCM with Phase Biases";
