summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-07-04 11:39:57 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-07-04 11:39:57 +0000
commite7532f2a96fe38e8f4341ea32709fa648ca25686 (patch)
treeac9b5a0715de0d676bc555ad776a82a3dded7000 /sysutils
parentwww/srg Fix build with Clang6 (diff)
sysutils/qpxtool: Fix build with Clang 6
src/mainwindow.cpp:1646:44: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] r+= "<img src=\""+idir+"/ft.png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">"; ^ http://beefy11.nyi.freebsd.org/data/head-i386-default/p473363_s335650/logs/qpxtool-0.7.2_4.log
Notes
Notes: svn path=/head/; revision=473877
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp93
1 files changed, 93 insertions, 0 deletions
diff --git a/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp b/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp
index a52c345c0c8d..64d9deaf6d11 100644
--- a/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp
+++ b/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp
@@ -9,3 +9,96 @@
mwidget->selectTab(idx);
}
+@@ -1477,7 +1477,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ r+= "<br>\n";
+
+ r+= "<table border=0 cellspacing=0 align=\"center\">\n\t<tr><td align=\"center\">";
+- r+= "<img src=\""+idir+"/rt.png\" alt=\"Read Transfer\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">";
++ r+= "<img src=\""+idir+"/rt.png\" alt=\"Read Transfer\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">";
+ // r+= "<br>Read Transfer";
+ r+= "</td></tr>\n</table><br>\n";
+ }
+@@ -1508,7 +1508,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ r+= "<br>\n";
+
+ r+= "<table border=0 cellspacing=0 align=\"center\">\n\t<tr><td align=\"center\">";
+- r+= "<img src=\""+idir+"/wt.png\" alt=\"Write Transfer\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">";
++ r+= "<img src=\""+idir+"/wt.png\" alt=\"Write Transfer\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">";
+ // r+= "<br>Write Transfer";
+ r+= "</td></tr>\n</table><br>\n";
+ }
+@@ -1571,7 +1571,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ r+= "<br>\n";
+
+ r+= "<table border=0 cellspacing=0 align=\"center\">\n\t<tr><td align=\"center\">";
+- r+= "<img src=\""+idir+"/errc.png\" alt=\"Error correction\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">\n";
++ r+= "<img src=\""+idir+"/errc.png\" alt=\"Error correction\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">\n";
+ r+= "<br>Overall ERRC Graph";
+ r+= "</td></tr></table><br>\n";
+
+@@ -1580,7 +1580,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ for (int i=0; i<8; i++) {
+ if (!dev->media.tdata_errc || (dev->media.tdata_errc & (1<<i))) {
+ r+= "<table border=0 cellspacing=0 align=\"center\">\n\t<tr><td align=\"center\">";
+- r+= "\t<img src=\""+idir+"/"+errcNameCD[i]+".png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">";
++ r+= "\t<img src=\""+idir+"/"+errcNameCD[i]+".png\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">";
+ r+= "<br>"+errcNameCD[i];
+ r+= "</td></tr>\n</table><br>\n";
+ }
+@@ -1589,7 +1589,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ for (int i=1; i<8; i++) {
+ if (!dev->media.tdata_errc || (dev->media.tdata_errc & (1<<i))) {
+ r+= "<table border=0 cellspacing=0 align=\"center\">\n\t<tr><td align=\"center\">";
+- r+= "\t<img src=\""+idir+"/"+errcNameDVD[i]+".png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">";
++ r+= "\t<img src=\""+idir+"/"+errcNameDVD[i]+".png\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">";
+ r+= "<br>"+errcNameDVD[i];
+ r+= "</td></tr>\n</table><br>\n";
+ }
+@@ -1599,7 +1599,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ for (int i=0; i<3; i++) {
+ if (!dev->media.tdata_errc || (dev->media.tdata_errc & (1<<residx[i]))) {
+ r+= "<table border=0 cellspacing=0 align=\"center\">\n\t<tr><td align=\"center\">";
+- r+= "\t<img src=\""+idir+"/"+errcNameBD[residx[i]]+".png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">";
++ r+= "\t<img src=\""+idir+"/"+errcNameBD[residx[i]]+".png\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">";
+ r+= "<br>"+errcNameBD[residx[i]];
+ r+= "</td></tr>\n</table><br>\n";
+ }
+@@ -1626,7 +1626,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ r+= "\t</table>\n";
+ r+= "<br>\n";
+ r+= "<table border=0 cellspacing=0 align=center>\n\t<tr><td align=center>\n";
+- r+= "<img src=\""+idir+"/jb.png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">";
++ r+= "<img src=\""+idir+"/jb.png\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">";
+ r+= "</td></tr>\n</table><br>\n";
+ }
+
+@@ -1643,7 +1643,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ r+= "\t</table>\n";
+ r+= "<br>\n";
+ r+= "<table border=0 cellspacing=0 align=center>\n\t<tr><td align=center>\n";
+- r+= "<img src=\""+idir+"/ft.png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ">";
++ r+= "<img src=\""+idir+"/ft.png\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ ">";
+ r+= "</td></tr></table><br>\n";
+ }
+
+@@ -1663,9 +1663,9 @@ QString QPxToolMW::generate_html(device *dev, QString
+ for (int z=0; z<3; z++)
+ {
+ r+= "<table border=0 cellspacing=0 align=center>\n\t<tr><td align=center>";
+- r+= "<img src=\""+idir+"/ta"+QString::number(l)+"_"+QString::number(z)+"_p.png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ2">";
++ r+= "<img src=\""+idir+"/ta"+QString::number(l)+"_"+QString::number(z)+"_p.png\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ2 ">";
+ r+= "</td></tr>\n\t<tr><td align=\"center\">";
+- r+= "<img src=\""+idir+"/ta"+QString::number(l)+"_"+QString::number(z)+"_l.png\" width="HTML_GRAPH_WQ" height="HTML_GRAPH_HQ2">";
++ r+= "<img src=\""+idir+"/ta"+QString::number(l)+"_"+QString::number(z)+"_l.png\" width=" HTML_GRAPH_WQ " height=" HTML_GRAPH_HQ2 ">";
+ r+= "</td></tr>\n</table><br>\n";
+ }
+ }
+@@ -1674,7 +1674,7 @@ QString QPxToolMW::generate_html(device *dev, QString
+ r+= "\t<br><br>\n";
+ r+= "\t\n";
+ r+= "<p align=\"center\">\n";
+- r+= "\tGenerated by QPxTool v"VERSION" (c) Gennady \"ShultZ\" Kozlov\n";
++ r+= "\tGenerated by QPxTool v" VERSION " (c) Gennady \"ShultZ\" Kozlov\n";
+ r+= "\t<a href=\"http://qpxtool.sourceforge.net\">http://qpxtool.sourceforge.net</a><br>\n";
+ r+= "</p>\n";
+ r+= "</body>\n</html>\n";