Mark FOX17 option broken (Not related to clang 6 in particular, the FOX-1.7 API is ever changing due to being a development version. This project appears to be dead, so I'm not sure it is worth fixing.) recorder.cpp:104:9: error: no matching member function for call to 'prepend' NewMessage(); ^~~~~~~~~~~~ recorder.cpp:51:6: note: expanded from macro 'NewMessage' list.prepend((FXObject*)mm); ~~~~~^~~~~~~ /usr/local/include/fox-1.7/FXObjectList.h:256:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'MacroMessage *' for 1st argument FXbool prepend(TYPE* object){ return FXObjectList::prepend(object); } ^ /usr/local/include/fox-1.7/FXObjectList.h:265:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'const FXObjectListOf<MacroMessage>' for 1st argument FXbool prepend(const FXObjectListOf<TYPE>& objects){ return FXObjectList::prepend(objects); } ^ /usr/local/include/fox-1.7/FXObjectList.h:259:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE* object,FXival n){ return FXObjectList::prepend(object,n); } ^ /usr/local/include/fox-1.7/FXObjectList.h:262:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE** objects,FXival n){ return FXObjectList::prepend(objects,n); } ^ Rename/remake patches
20 lines
1 KiB
C++
20 lines
1 KiB
C++
--- src/export.cpp.orig 2013-10-03 09:22:51 UTC
|
||
+++ src/export.cpp
|
||
@@ -73,7 +73,7 @@ void SaveToHTML(SciDoc*sci, FILE *fp )
|
||
fprintf(fp, "<title>%s</title>\n", FXPath::name(sci->Filename()).text());
|
||
// Probably not used by robots, but making a little advertisement for those looking
|
||
// at the source code doesn't hurt...
|
||
- fputs("<meta name=\"Generator\" content=\""APP_NAME" HTML export\" />\n", fp);
|
||
+ fputs("<meta name=\"Generator\" content=\"" APP_NAME " HTML export\" />\n", fp);
|
||
if ( sci->sendMessage(SCI_GETCODEPAGE,0,0) == SC_CP_UTF8) {
|
||
fputs("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n", fp);
|
||
}
|
||
@@ -464,7 +464,7 @@ void SaveToPDF(SciDoc*sci, FILE *fp)
|
||
}
|
||
// start to write PDF file here (PDF1.4Ref(p63))
|
||
// ASCII>127 characters to indicate binary-possible stream
|
||
- oT->write("%PDF-1.3\n%Çì<C387>¢\n");
|
||
+ oT->write("%PDF-1.3\n%\267\276\255\252\n");
|
||
styleCurrent = STYLE_DEFAULT;
|
||
|
||
// build objects for font resources; note that font objects are
|