Removed
Link Here
|
1 |
xap_Dialog.cpp:270:17: error: cast from pointer to smaller type 'char' loses information |
2 |
*pWindowName = (char) NULL; |
3 |
^~~~~~~~~~~ |
4 |
ap_UnixApp.cpp:866:29: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] |
5 |
if(0 == strcmp (suffix, "."G_MODULE_SUFFIX)) |
6 |
^ |
7 |
ie_exp_XSL-FO.cpp:1454:13: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] |
8 |
buf += " "x"=\""; \ |
9 |
^ |
10 |
ie_exp_LaTeX.cpp:1332:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] |
11 |
#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true; |
12 |
^ |
13 |
RealmProtocol.cpp:16:2: error: constant expression evaluates to -1 which cannot be narrowed to type 'uint32_t' (aka 'unsigned int') [-Wc++11-narrowing] |
14 |
RPV1_PACKET_VARIABLE, /* user joined */ |
15 |
^~~~~~~~~~~~~~~~~~~~ |
16 |
RealmProtocol.cpp:10:30: note: expanded from macro 'RPV1_PACKET_VARIABLE' |
17 |
#define RPV1_PACKET_VARIABLE -1 |
18 |
^~ |
19 |
RealmProtocol.cpp:16:2: note: insert an explicit cast to silence this issue |
20 |
RPV1_PACKET_VARIABLE, /* user joined */ |
21 |
^~~~~~~~~~~~~~~~~~~~ |
22 |
static_cast<uint32_t>( ) |
23 |
RealmProtocol.cpp:10:30: note: expanded from macro 'RPV1_PACKET_VARIABLE' |
24 |
#define RPV1_PACKET_VARIABLE -1 |
25 |
^~ |
26 |
soa_soup.cpp:166:11: error: no viable conversion from returned value of type 'soa::GenericPtr' (aka 'shared_ptr<soa::Generic>') to function return type 'bool' |
27 |
return soa::GenericPtr(); |
28 |
^~~~~~~~~~~~~~~~~ |
29 |
|
30 |
https://github.com/AbiWord/abiword/commit/a83e6f50dbd5 |
31 |
https://github.com/AbiWord/abiword/commit/5623a94c756c |
32 |
|
33 |
--- plugins/collab/backends/service/xp/RealmProtocol.cpp.orig 2009-05-27 05:41:59 UTC |
34 |
+++ plugins/collab/backends/service/xp/RealmProtocol.cpp |
35 |
@@ -6,8 +6,8 @@ namespace protocolv1 { |
36 |
|
37 |
#define MAX_PACKET_DATA_SIZE 64*1024*1024 |
38 |
|
39 |
-#define RPV1_PACKET_NONEXISTENT -2 |
40 |
-#define RPV1_PACKET_VARIABLE -1 |
41 |
+#define RPV1_PACKET_NONEXISTENT uint32_t(-2) |
42 |
+#define RPV1_PACKET_VARIABLE uint32_t(-1) |
43 |
|
44 |
static uint32_t body_size[6] = { |
45 |
RPV1_PACKET_NONEXISTENT, /* 0: reserved */ |
46 |
--- plugins/collab/backends/service/xp/soa_soup.cpp.orig 2009-09-29 13:58:11 UTC |
47 |
+++ plugins/collab/backends/service/xp/soa_soup.cpp |
48 |
@@ -163,7 +163,7 @@ namespace soup_soa { |
49 |
|
50 |
static bool _invoke(const std::string& /*url*/, const soa::method_invocation& /*mi*/, SoaSoupSession& sess, std::string& result) { |
51 |
if (!sess.m_session || !sess.m_msg ) |
52 |
- return soa::GenericPtr(); |
53 |
+ return false; |
54 |
|
55 |
guint status = soup_session_send_message (sess.m_session, sess.m_msg); |
56 |
if (!(SOUP_STATUS_IS_SUCCESSFUL (status) || |
57 |
--- plugins/latex/xp/ie_exp_LaTeX.cpp.orig 2013-04-07 13:53:03 UTC |
58 |
+++ plugins/latex/xp/ie_exp_LaTeX.cpp |
59 |
@@ -1329,7 +1329,7 @@ void s_LaTeX_Listener::_outputData(const UT_UCSChar * |
60 |
m_pie->write(sBuf.c_str(),sBuf.size()); |
61 |
} |
62 |
|
63 |
-#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true; |
64 |
+#define SUB(a,who) case a: subst = "\\(\\" who"\\)"; return true; |
65 |
#define SUBd(a,who) case a: subst = who; return true; |
66 |
static bool _convertLettersToSymbols(char c, const char *& subst) |
67 |
{ |
68 |
--- plugins/xslfo/xp/ie_exp_XSL-FO.cpp.orig 2013-04-07 13:53:03 UTC |
69 |
+++ plugins/xslfo/xp/ie_exp_XSL-FO.cpp |
70 |
@@ -1451,7 +1451,7 @@ void s_XSL_FO_Listener::_openSection(PT_AttrPropIndex |
71 |
{ \ |
72 |
UT_UTF8String esc = szValue; \ |
73 |
esc.escapeXML(); \ |
74 |
- buf += " "x"=\""; \ |
75 |
+ buf += " " x"=\""; \ |
76 |
buf += esc.utf8_str(); \ |
77 |
buf += "\""; \ |
78 |
} |
79 |
--- src/af/xap/xp/xap_Dialog.cpp.orig 2013-04-07 13:53:03 UTC |
80 |
+++ src/af/xap/xp/xap_Dialog.cpp |
81 |
@@ -267,7 +267,7 @@ XAP_Dialog_Modeless::BuildWindowName(char * pWindowNam |
82 |
// This function constructs and returns the window name of a modeless dialog by |
83 |
// concatenating the active frame with the dialog name |
84 |
|
85 |
- *pWindowName = (char) NULL; |
86 |
+ *pWindowName = '\0'; |
87 |
UT_UTF8String wn = UT_UTF8String(pDialogName); |
88 |
|
89 |
XAP_Frame* pFrame = getActiveFrame(); |
90 |
--- src/wp/ap/gtk/ap_UnixApp.cpp.orig 2013-04-07 13:53:03 UTC |
91 |
+++ src/wp/ap/gtk/ap_UnixApp.cpp |
92 |
@@ -863,7 +863,7 @@ static bool is_so (const char *file) { |
93 |
if (len < (strlen(G_MODULE_SUFFIX) + 2)) // this is ".so" and at least one char for the filename |
94 |
return false; |
95 |
const char *suffix = file+(len-3); |
96 |
- if(0 == strcmp (suffix, "."G_MODULE_SUFFIX)) |
97 |
+ if(0 == strcmp (suffix, "." G_MODULE_SUFFIX)) |
98 |
return true; |
99 |
return false; |
100 |
} |