1 | <!DOCTYPE html> |
---|
2 | <html lang="en"> |
---|
3 | <head><script type="text/javascript" src="extensions/BayotBase/web/js/jquery-1.7.1.min.js?1514711832"></script> |
---|
4 | <script type="text/javascript" src="extensions/BayotBase/web/js/es5-shim.min.js?1514711832"></script><script type="text/javascript" src="page.cgi?1726542902&id=bayotbase/fielddefs.js"></script> |
---|
5 | <script type="text/javascript" src="extensions/BayotBase/web/js/jquery-ui-1.8.18.custom.min.js?1514711832"></script> |
---|
6 | <script type="text/javascript" src="extensions/BayotBase/web/js/jquery.cookie.js?1514711832"></script> |
---|
7 | <script type="text/javascript" src="extensions/BayotBase/web/js/jquery.jsonrpc.js?1514711832"></script> |
---|
8 | <script type="text/javascript" src="extensions/BayotBase/web/js/Base.js?1514711832"></script> |
---|
9 | <script type="text/javascript" src="extensions/BayotBase/web/js/bayot.util.js?1514711832"></script> |
---|
10 | <link type="text/css" rel="stylesheet" href="extensions/BayotBase/web/css/jquery-ui-1.8.18.custom.css?1514711832"> |
---|
11 | <link type="text/css" rel="stylesheet" href="extensions/BayotBase/web/css/base.css?1514711832"> |
---|
12 | <script type="text/javascript">var BB_CONFIG = ({"defaults":{"platform":"Any","bugentry_fields":["summary","product","component","severity","priority","comment"],"priority":"---","op_sys":"Any","severity":"Affects Only Me"},"user":{"groups":[],"logged_in":false,"enterable_products":[]}});</script> |
---|
13 | <title> |
---|
14 | Attachment #254038 for bug #281886</title> |
---|
15 | |
---|
16 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
17 | |
---|
18 | <link href="data/assets/91d5b80ddafe69ca54a35b27399cf8e7.css?1580000418" rel="stylesheet" type="text/css"> |
---|
19 | |
---|
20 | |
---|
21 | |
---|
22 | |
---|
23 | <script type="text/javascript" src="data/assets/1b4e898422a669ab82b604a2c23edce5.js?1580000288"></script> |
---|
24 | |
---|
25 | <script type="text/javascript"> |
---|
26 | <!-- |
---|
27 | YAHOO.namespace('bugzilla'); |
---|
28 | YAHOO.util.Event.addListener = function (el, sType, fn, obj, overrideContext) { |
---|
29 | if ( ("onpagehide" in window || YAHOO.env.ua.gecko) && sType === "unload") { sType = "pagehide"; }; |
---|
30 | var capture = ((sType == "focusin" || sType == "focusout") && !YAHOO.env.ua.ie) ? true : false; |
---|
31 | return this._addListener(el, this._getType(sType), fn, obj, overrideContext, capture); |
---|
32 | }; |
---|
33 | if ( "onpagehide" in window || YAHOO.env.ua.gecko) { |
---|
34 | YAHOO.util.Event._simpleRemove(window, "unload", |
---|
35 | YAHOO.util.Event._unload); |
---|
36 | } |
---|
37 | |
---|
38 | function unhide_language_selector() { |
---|
39 | YAHOO.util.Dom.removeClass( |
---|
40 | 'lang_links_container', 'bz_default_hidden' |
---|
41 | ); |
---|
42 | } |
---|
43 | YAHOO.util.Event.onDOMReady(unhide_language_selector); |
---|
44 | |
---|
45 | |
---|
46 | var BUGZILLA = { |
---|
47 | param: { |
---|
48 | cookiepath: '\/bugzilla\/', |
---|
49 | maxusermatches: 50 |
---|
50 | }, |
---|
51 | constant: { |
---|
52 | COMMENT_COLS: 80 |
---|
53 | }, |
---|
54 | string: { |
---|
55 | |
---|
56 | |
---|
57 | attach_desc_required: |
---|
58 | "You must enter a Description for this attachment.", |
---|
59 | component_required: |
---|
60 | "You must select a Component for this bug.", |
---|
61 | description_required: |
---|
62 | "You must enter a Description for this bug.", |
---|
63 | short_desc_required: |
---|
64 | "You must enter a Summary for this bug.", |
---|
65 | version_required: |
---|
66 | "You must select a Version for this bug." |
---|
67 | } |
---|
68 | }; |
---|
69 | |
---|
70 | // --> |
---|
71 | </script> |
---|
72 | <script type="text/javascript" src="data/assets/29f04fcbf22cac0aee8418f77a932db2.js?1580000332"></script> |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | <link rel="search" type="application/opensearchdescription+xml" |
---|
78 | title="FreeBSD Bugzilla" href="./search_plugin.cgi"> |
---|
79 | <link rel="shortcut icon" href="images/fbsd_favicon.ico" > |
---|
80 | </head> |
---|
81 | |
---|
82 | <body onload="restore_all(); document.checkboxform.restore_indicator.checked = true" |
---|
83 | class="bugs-freebsd-org-bugzilla yui-skin-sam"> |
---|
84 | |
---|
85 | <div id="header"><div id="banner"> |
---|
86 | </div> |
---|
87 | |
---|
88 | <div id="titles"> |
---|
89 | <span id="title">FreeBSD Bugzilla – |
---|
90 | Attachment #254038: cad/kicad: fix build with libc++ 19 |
---|
91 | for <a href="show_bug.cgi?id=281886">bug #281886</a></span> |
---|
92 | |
---|
93 | |
---|
94 | </div> |
---|
95 | |
---|
96 | <div id="common_links"><ul class="links"> |
---|
97 | <li><a href="./">Home</a></li> |
---|
98 | <li><span class="separator">| </span><a href="enter_bug.cgi">New</a></li> |
---|
99 | <li><span class="separator">| </span><a href="describecomponents.cgi">Browse</a></li> |
---|
100 | <li><span class="separator">| </span><a href="query.cgi">Search</a></li> |
---|
101 | |
---|
102 | <li class="form"> |
---|
103 | <span class="separator">| </span> |
---|
104 | <form action="buglist.cgi" method="get" |
---|
105 | onsubmit="if (this.quicksearch.value == '') |
---|
106 | { alert('Please enter one or more search terms first.'); |
---|
107 | return false; } return true;"> |
---|
108 | <input type="hidden" id="no_redirect_top" name="no_redirect" value="0"> |
---|
109 | <script type="text/javascript"> |
---|
110 | if (history && history.replaceState) { |
---|
111 | var no_redirect = document.getElementById("no_redirect_top"); |
---|
112 | no_redirect.value = 1; |
---|
113 | } |
---|
114 | </script> |
---|
115 | <input class="txt" type="text" id="quicksearch_top" name="quicksearch" |
---|
116 | title="Quick Search" value=""> |
---|
117 | <input class="btn" type="submit" value="Search" |
---|
118 | id="find_top"></form> |
---|
119 | <a href="page.cgi?id=quicksearch.html" title="Quicksearch Help">[?]</a></li> |
---|
120 | |
---|
121 | <li><span class="separator">| </span><a href="page.cgi?id=reporting.html">Reports</a></li> |
---|
122 | |
---|
123 | |
---|
124 | |
---|
125 | |
---|
126 | <li id="new_account_container_top"> |
---|
127 | <span class="separator">| </span> |
---|
128 | <a href="createaccount.cgi">New Account</a> |
---|
129 | </li> |
---|
130 | |
---|
131 | <li id="mini_login_container_top"> |
---|
132 | <span class="separator">| </span> |
---|
133 | <a id="login_link_top" href="attachment.cgi?id=254038&action=diff&GoAheadAndLogIn=1" |
---|
134 | onclick="return show_mini_login_form('_top')">Log In</a> |
---|
135 | |
---|
136 | <form action="attachment.cgi?id=254038&action=diff" method="POST" |
---|
137 | class="mini_login bz_default_hidden" |
---|
138 | id="mini_login_top"> |
---|
139 | <input id="Bugzilla_login_top" required |
---|
140 | name="Bugzilla_login" class="bz_login" |
---|
141 | type="email" placeholder="Email Address"> |
---|
142 | <input class="bz_password" name="Bugzilla_password" type="password" |
---|
143 | id="Bugzilla_password_top" required |
---|
144 | placeholder="Password"> |
---|
145 | <input type="checkbox" id="Bugzilla_remember_top" |
---|
146 | name="Bugzilla_remember" value="on" class="bz_remember" |
---|
147 | checked> |
---|
148 | <label for="Bugzilla_remember_top">Remember</label> |
---|
149 | <input type="hidden" name="Bugzilla_login_token" |
---|
150 | value="1728771525-1SXMygPgxTnlINhEJtzsdTcEIy9YeFU2ppDoLWPjyCM"> |
---|
151 | <input type="submit" name="GoAheadAndLogIn" value="Log in" |
---|
152 | id="log_in_top"> |
---|
153 | <a href="#" onclick="return hide_mini_login_form('_top')">[x]</a> |
---|
154 | </form> |
---|
155 | </li> |
---|
156 | |
---|
157 | |
---|
158 | <li id="forgot_container_top"> |
---|
159 | <span class="separator">| </span> |
---|
160 | <a id="forgot_link_top" href="attachment.cgi?id=254038&action=diff&GoAheadAndLogIn=1#forgot" |
---|
161 | onclick="return show_forgot_form('_top')">Forgot Password</a> |
---|
162 | <form action="token.cgi" method="post" id="forgot_form_top" |
---|
163 | class="mini_forgot bz_default_hidden"> |
---|
164 | <label for="login_top">Login:</label> |
---|
165 | <input name="loginname" size="20" id="login_top" required |
---|
166 | type="email" placeholder="Your Email Address"> |
---|
167 | <input id="forgot_button_top" value="Reset Password" type="submit"> |
---|
168 | <input type="hidden" name="a" value="reqpw"> |
---|
169 | <input type="hidden" id="token_top" name="token" |
---|
170 | value="1728771525-CEE1wTFxD1xDK4e0DKfRY4DePDBE2i-yfYKnCD10riI"> |
---|
171 | <a href="#" onclick="return hide_forgot_form('_top')">[x]</a> |
---|
172 | </form> |
---|
173 | </li> |
---|
174 | </ul> |
---|
175 | </div> |
---|
176 | |
---|
177 | </div> |
---|
178 | |
---|
179 | <div id="bugzilla-body"><div id="xyz"></div> |
---|
180 | <script> |
---|
181 | if (document.location == "https://bugs.freebsd.org/bugzilla/" && document.cookie=="") { |
---|
182 | var elem = document.getElementById("xyz"); |
---|
183 | elem.innerHTML = '<div id="message" style="text-align: center;"><p>If you need to change your password, and you have a .FreeBSD.org account, please use <code>Kerberos</code> rather than the link on the home page.</p></div>'; |
---|
184 | } |
---|
185 | </script> |
---|
186 | |
---|
187 | |
---|
188 | |
---|
189 | <a href="attachment.cgi?id=254038">View</a> |
---|
190 | | <a href="attachment.cgi?id=254038&action=edit">Details</a> |
---|
191 | | <a href="attachment.cgi?id=254038&action=diff&collapsed=&headers=1&format=raw">Raw Unified</a> |
---|
192 | | Return to <a class="bz_bug_link |
---|
193 | bz_status_Closed bz_closed" |
---|
194 | title="Closed FIXED - cad/kicad: fix build with libc++ 19" |
---|
195 | href="show_bug.cgi?id=281886">bug 281886</a> |
---|
196 | <br> |
---|
197 | |
---|
198 | |
---|
199 | <a href="#" |
---|
200 | onmouseover="lastStatus = window.status; window.status='Collapse All'; return true" |
---|
201 | onmouseout="window.status = lastStatus; return true" |
---|
202 | onclick="return collapse_all()">Collapse All</a> | |
---|
203 | <a href="#" |
---|
204 | onmouseover="lastStatus = window.status; window.status='Expand All'; return true" |
---|
205 | onmouseout="window.status = lastStatus; return true" |
---|
206 | onclick="return expand_all()">Expand All</a> |
---|
207 | |
---|
208 | <br><br> |
---|
209 | |
---|
210 | |
---|
211 | <form name="checkboxform" action="attachment.cgi"> |
---|
212 | <input type="checkbox" name="restore_indicator" class="bz_default_hidden"><table class="file_table"><thead><tr><td class="num"></td><td></td><td |
---|
213 | class="num"></td><td></td></tr><tr><td class="file_head" colspan="4"><a href="#" |
---|
214 | onclick="return twisty_click(this)">(-)</a><input |
---|
215 | type="checkbox" name="b/cad/kicad/files/patch-thirdparty_compoundfilereader_compoundfilereader.h" checked |
---|
216 | class="bz_default_hidden">b/cad/kicad/files/patch-thirdparty_compoundfilereader_compoundfilereader.h |
---|
217 | (+20 lines) |
---|
218 | </td></tr></thead><tbody class="file"> |
---|
219 | <script type="text/javascript"> |
---|
220 | incremental_restore() |
---|
221 | </script> |
---|
222 | |
---|
223 | <tr> |
---|
224 | <th colspan="4" class="section_head"> |
---|
225 | <span id="b/cad/kicad/files/patch-thirdparty_compoundfilereader_compoundfilereader.h_sec1" class="lines_count"> |
---|
226 | Added |
---|
227 | </span> |
---|
228 | <span class="link_here"> |
---|
229 | <a href="#b/cad/kicad/files/patch-thirdparty_compoundfilereader_compoundfilereader.h_sec1">Link Here</a> |
---|
230 | </span> |
---|
231 | </th> |
---|
232 | </tr> |
---|
233 | <tr> |
---|
234 | <td class="num">1</td> |
---|
235 | <td class="added" colspan="3"><pre>--- thirdparty/compoundfilereader/compoundfilereader.h.orig 2023-04-13 20:27:39 UTC</pre></td> |
---|
236 | </tr> |
---|
237 | <tr> |
---|
238 | <td class="num">2</td> |
---|
239 | <td class="added" colspan="3"><pre>+++ thirdparty/compoundfilereader/compoundfilereader.h</pre></td> |
---|
240 | </tr> |
---|
241 | <tr> |
---|
242 | <td class="num">3</td> |
---|
243 | <td class="added" colspan="3"><pre>@@ -129,7 +129,7 @@ struct helper</pre></td> |
---|
244 | </tr> |
---|
245 | <tr> |
---|
246 | <td class="num">4</td> |
---|
247 | <td class="added" colspan="3"><pre> }</pre></td> |
---|
248 | </tr> |
---|
249 | <tr> |
---|
250 | <td class="num">5</td> |
---|
251 | <td class="added" colspan="3"><pre> };</pre></td> |
---|
252 | </tr> |
---|
253 | <tr> |
---|
254 | <td class="num">6</td> |
---|
255 | <td class="added" colspan="3"><pre> </pre></td> |
---|
256 | </tr> |
---|
257 | <tr> |
---|
258 | <td class="num">7</td> |
---|
259 | <td class="added" colspan="3"><pre>-typedef std::basic_string<uint16_t> utf16string;</pre></td> |
---|
260 | </tr> |
---|
261 | <tr> |
---|
262 | <td class="num">8</td> |
---|
263 | <td class="added" colspan="3"><pre>+typedef std::basic_string<char16_t> utf16string;</pre></td> |
---|
264 | </tr> |
---|
265 | <tr> |
---|
266 | <td class="num">9</td> |
---|
267 | <td class="added" colspan="3"><pre> typedef std::function<void(const COMPOUND_FILE_ENTRY*, const utf16string& dir, int level)> </pre></td> |
---|
268 | </tr> |
---|
269 | <tr> |
---|
270 | <td class="num">10</td> |
---|
271 | <td class="added" colspan="3"><pre> EnumFilesCallback;</pre></td> |
---|
272 | </tr> |
---|
273 | <tr> |
---|
274 | <td class="num">11</td> |
---|
275 | <td class="added" colspan="3"><pre> </pre></td> |
---|
276 | </tr> |
---|
277 | <tr> |
---|
278 | <td class="num">12</td> |
---|
279 | <td class="added" colspan="3"><pre>@@ -246,7 +246,7 @@ class CompoundFileReader (private)</pre></td> |
---|
280 | </tr> |
---|
281 | <tr> |
---|
282 | <td class="num">13</td> |
---|
283 | <td class="added" colspan="3"><pre> utf16string newDir = dir;</pre></td> |
---|
284 | </tr> |
---|
285 | <tr> |
---|
286 | <td class="num">14</td> |
---|
287 | <td class="added" colspan="3"><pre> if (dir.length() != 0)</pre></td> |
---|
288 | </tr> |
---|
289 | <tr> |
---|
290 | <td class="num">15</td> |
---|
291 | <td class="added" colspan="3"><pre> newDir.append(1, '\n');</pre></td> |
---|
292 | </tr> |
---|
293 | <tr> |
---|
294 | <td class="num">16</td> |
---|
295 | <td class="added" colspan="3"><pre>- newDir.append(entry->name, entry->nameLen / 2);</pre></td> |
---|
296 | </tr> |
---|
297 | <tr> |
---|
298 | <td class="num">17</td> |
---|
299 | <td class="added" colspan="3"><pre>+ newDir.append(reinterpret_cast<const char16_t*>(entry->name), entry->nameLen / 2);</pre></td> |
---|
300 | </tr> |
---|
301 | <tr> |
---|
302 | <td class="num">18</td> |
---|
303 | <td class="added" colspan="3"><pre> EnumNodes(GetEntry(entry->childID), currentLevel + 1, maxLevel, newDir, callback);</pre></td> |
---|
304 | </tr> |
---|
305 | <tr> |
---|
306 | <td class="num">19</td> |
---|
307 | <td class="added" colspan="3"><pre> }</pre></td> |
---|
308 | </tr> |
---|
309 | <tr> |
---|
310 | <td class="num">20</td> |
---|
311 | <td class="added" colspan="3"><pre> </pre></td> |
---|
312 | </tr> |
---|
313 | |
---|
314 | </table><table class="file_table"><thead><tr><td class="num"></td><td></td><td |
---|
315 | class="num"></td><td></td></tr><tr><td class="file_head" colspan="4"><a href="#" |
---|
316 | onclick="return twisty_click(this)">(-)</a><input |
---|
317 | type="checkbox" name="b/cad/kicad/files/patch-thirdparty_nanodbc_nanodbc_nanodbc.cpp" checked |
---|
318 | class="bz_default_hidden">b/cad/kicad/files/patch-thirdparty_nanodbc_nanodbc_nanodbc.cpp |
---|
319 | (+44 lines) |
---|
320 | </td></tr></thead><tbody class="file"> |
---|
321 | <script type="text/javascript"> |
---|
322 | incremental_restore() |
---|
323 | </script> |
---|
324 | |
---|
325 | <tr> |
---|
326 | <th colspan="4" class="section_head"> |
---|
327 | <span id="b/cad/kicad/files/patch-thirdparty_nanodbc_nanodbc_nanodbc.cpp_sec1" class="lines_count"> |
---|
328 | Added |
---|
329 | </span> |
---|
330 | <span class="link_here"> |
---|
331 | <a href="#b/cad/kicad/files/patch-thirdparty_nanodbc_nanodbc_nanodbc.cpp_sec1">Link Here</a> |
---|
332 | </span> |
---|
333 | </th> |
---|
334 | </tr> |
---|
335 | <tr> |
---|
336 | <td class="num">1</td> |
---|
337 | <td class="added" colspan="3"><pre>--- thirdparty/nanodbc/nanodbc/nanodbc.cpp.orig 2023-04-13 20:27:39 UTC</pre></td> |
---|
338 | </tr> |
---|
339 | <tr> |
---|
340 | <td class="num">2</td> |
---|
341 | <td class="added" colspan="3"><pre>+++ thirdparty/nanodbc/nanodbc/nanodbc.cpp</pre></td> |
---|
342 | </tr> |
---|
343 | <tr> |
---|
344 | <td class="num">3</td> |
---|
345 | <td class="added" colspan="3"><pre>@@ -255,10 +255,19 @@ constexpr std::size_t size(const T (&array)[N]) noexce</pre></td> |
---|
346 | </tr> |
---|
347 | <tr> |
---|
348 | <td class="num">4</td> |
---|
349 | <td class="added" colspan="3"><pre> }</pre></td> |
---|
350 | </tr> |
---|
351 | <tr> |
---|
352 | <td class="num">5</td> |
---|
353 | <td class="added" colspan="3"><pre> #endif</pre></td> |
---|
354 | </tr> |
---|
355 | <tr> |
---|
356 | <td class="num">6</td> |
---|
357 | <td class="added" colspan="3"><pre> </pre></td> |
---|
358 | </tr> |
---|
359 | <tr> |
---|
360 | <td class="num">7</td> |
---|
361 | <td class="added" colspan="3"><pre>+inline std::size_t length(NANODBC_SQLCHAR const* s)</pre></td> |
---|
362 | </tr> |
---|
363 | <tr> |
---|
364 | <td class="num">8</td> |
---|
365 | <td class="added" colspan="3"><pre>+{</pre></td> |
---|
366 | </tr> |
---|
367 | <tr> |
---|
368 | <td class="num">9</td> |
---|
369 | <td class="added" colspan="3"><pre>+ std::size_t len = 0;</pre></td> |
---|
370 | </tr> |
---|
371 | <tr> |
---|
372 | <td class="num">10</td> |
---|
373 | <td class="added" colspan="3"><pre>+ for (; *s != 0; ++s)</pre></td> |
---|
374 | </tr> |
---|
375 | <tr> |
---|
376 | <td class="num">11</td> |
---|
377 | <td class="added" colspan="3"><pre>+ ++len;</pre></td> |
---|
378 | </tr> |
---|
379 | <tr> |
---|
380 | <td class="num">12</td> |
---|
381 | <td class="added" colspan="3"><pre>+ return len;</pre></td> |
---|
382 | </tr> |
---|
383 | <tr> |
---|
384 | <td class="num">13</td> |
---|
385 | <td class="added" colspan="3"><pre>+ </pre></td> |
---|
386 | </tr> |
---|
387 | <tr> |
---|
388 | <td class="num">14</td> |
---|
389 | <td class="added" colspan="3"><pre>+}</pre></td> |
---|
390 | </tr> |
---|
391 | <tr> |
---|
392 | <td class="num">15</td> |
---|
393 | <td class="added" colspan="3"><pre>+</pre></td> |
---|
394 | </tr> |
---|
395 | <tr> |
---|
396 | <td class="num">16</td> |
---|
397 | <td class="added" colspan="3"><pre> template <std::size_t N></pre></td> |
---|
398 | </tr> |
---|
399 | <tr> |
---|
400 | <td class="num">17</td> |
---|
401 | <td class="added" colspan="3"><pre> inline std::size_t size(NANODBC_SQLCHAR const (&array)[N]) noexcept</pre></td> |
---|
402 | </tr> |
---|
403 | <tr> |
---|
404 | <td class="num">18</td> |
---|
405 | <td class="added" colspan="3"><pre> {</pre></td> |
---|
406 | </tr> |
---|
407 | <tr> |
---|
408 | <td class="num">19</td> |
---|
409 | <td class="added" colspan="3"><pre>- auto const n = std::char_traits<NANODBC_SQLCHAR>::length(array);</pre></td> |
---|
410 | </tr> |
---|
411 | <tr> |
---|
412 | <td class="num">20</td> |
---|
413 | <td class="added" colspan="3"><pre>+ auto const n = length(array);</pre></td> |
---|
414 | </tr> |
---|
415 | <tr> |
---|
416 | <td class="num">21</td> |
---|
417 | <td class="added" colspan="3"><pre> NANODBC_ASSERT(n < N);</pre></td> |
---|
418 | </tr> |
---|
419 | <tr> |
---|
420 | <td class="num">22</td> |
---|
421 | <td class="added" colspan="3"><pre> return n < N ? n : N - 1;</pre></td> |
---|
422 | </tr> |
---|
423 | <tr> |
---|
424 | <td class="num">23</td> |
---|
425 | <td class="added" colspan="3"><pre> }</pre></td> |
---|
426 | </tr> |
---|
427 | <tr> |
---|
428 | <td class="num">24</td> |
---|
429 | <td class="added" colspan="3"><pre>@@ -3573,9 +3582,9 @@ std::list<datasource> list_datasources()</pre></td> |
---|
430 | </tr> |
---|
431 | <tr> |
---|
432 | <td class="num">25</td> |
---|
433 | <td class="added" colspan="3"><pre> "incompatible SQLCHAR and string::value_type");</pre></td> |
---|
434 | </tr> |
---|
435 | <tr> |
---|
436 | <td class="num">26</td> |
---|
437 | <td class="added" colspan="3"><pre> </pre></td> |
---|
438 | </tr> |
---|
439 | <tr> |
---|
440 | <td class="num">27</td> |
---|
441 | <td class="added" colspan="3"><pre> datasource dsn;</pre></td> |
---|
442 | </tr> |
---|
443 | <tr> |
---|
444 | <td class="num">28</td> |
---|
445 | <td class="added" colspan="3"><pre>- dsn.name = string(&name[0], &name[std::char_traits<NANODBC_SQLCHAR>::length(name)]);</pre></td> |
---|
446 | </tr> |
---|
447 | <tr> |
---|
448 | <td class="num">29</td> |
---|
449 | <td class="added" colspan="3"><pre>+ dsn.name = string(&name[0], &name[length(name)]);</pre></td> |
---|
450 | </tr> |
---|
451 | <tr> |
---|
452 | <td class="num">30</td> |
---|
453 | <td class="added" colspan="3"><pre> dsn.driver =</pre></td> |
---|
454 | </tr> |
---|
455 | <tr> |
---|
456 | <td class="num">31</td> |
---|
457 | <td class="added" colspan="3"><pre>- string(&driver[0], &driver[std::char_traits<NANODBC_SQLCHAR>::length(driver)]);</pre></td> |
---|
458 | </tr> |
---|
459 | <tr> |
---|
460 | <td class="num">32</td> |
---|
461 | <td class="added" colspan="3"><pre>+ string(&driver[0], &driver[length(driver)]);</pre></td> |
---|
462 | </tr> |
---|
463 | <tr> |
---|
464 | <td class="num">33</td> |
---|
465 | <td class="added" colspan="3"><pre> </pre></td> |
---|
466 | </tr> |
---|
467 | <tr> |
---|
468 | <td class="num">34</td> |
---|
469 | <td class="added" colspan="3"><pre> dsns.push_back(std::move(dsn));</pre></td> |
---|
470 | </tr> |
---|
471 | <tr> |
---|
472 | <td class="num">35</td> |
---|
473 | <td class="added" colspan="3"><pre> direction = SQL_FETCH_NEXT;</pre></td> |
---|
474 | </tr> |
---|
475 | <tr> |
---|
476 | <td class="num">36</td> |
---|
477 | <td class="added" colspan="3"><pre>@@ -3626,7 +3635,7 @@ std::list<driver> list_drivers()</pre></td> |
---|
478 | </tr> |
---|
479 | <tr> |
---|
480 | <td class="num">37</td> |
---|
481 | <td class="added" colspan="3"><pre> "incompatible SQLCHAR and string::value_type");</pre></td> |
---|
482 | </tr> |
---|
483 | <tr> |
---|
484 | <td class="num">38</td> |
---|
485 | <td class="added" colspan="3"><pre> </pre></td> |
---|
486 | </tr> |
---|
487 | <tr> |
---|
488 | <td class="num">39</td> |
---|
489 | <td class="added" colspan="3"><pre> driver drv;</pre></td> |
---|
490 | </tr> |
---|
491 | <tr> |
---|
492 | <td class="num">40</td> |
---|
493 | <td class="added" colspan="3"><pre>- drv.name = string(&descr[0], &descr[std::char_traits<NANODBC_SQLCHAR>::length(descr)]);</pre></td> |
---|
494 | </tr> |
---|
495 | <tr> |
---|
496 | <td class="num">41</td> |
---|
497 | <td class="added" colspan="3"><pre>+ drv.name = string(&descr[0], &descr[length(descr)]);</pre></td> |
---|
498 | </tr> |
---|
499 | <tr> |
---|
500 | <td class="num">42</td> |
---|
501 | <td class="added" colspan="3"><pre> </pre></td> |
---|
502 | </tr> |
---|
503 | <tr> |
---|
504 | <td class="num">43</td> |
---|
505 | <td class="added" colspan="3"><pre> // Split "Key1=Value1\0Key2=Value2\0\0" into list of key-value pairs</pre></td> |
---|
506 | </tr> |
---|
507 | <tr> |
---|
508 | <td class="num">44</td> |
---|
509 | <td class="added" colspan="3"><pre> auto beg = &attrs[0];</pre></td> |
---|
510 | </tr> |
---|
511 | |
---|
512 | </table></form> |
---|
513 | |
---|
514 | |
---|
515 | <br> |
---|
516 | <span>Return to <a class="bz_bug_link |
---|
517 | bz_status_Closed bz_closed" |
---|
518 | title="Closed FIXED - cad/kicad: fix build with libc++ 19" |
---|
519 | href="show_bug.cgi?id=281886">bug 281886</a></span> |
---|
520 | </div> |
---|
521 | |
---|
522 | <div id="footer"> |
---|
523 | <div class="intro"></div> |
---|
524 | <ul id="useful-links"> |
---|
525 | <li id="links-actions"><ul class="links"> |
---|
526 | <li><a href="./">Home</a></li> |
---|
527 | <li><span class="separator">| </span><a href="enter_bug.cgi">New</a></li> |
---|
528 | <li><span class="separator">| </span><a href="describecomponents.cgi">Browse</a></li> |
---|
529 | <li><span class="separator">| </span><a href="query.cgi">Search</a></li> |
---|
530 | |
---|
531 | <li class="form"> |
---|
532 | <span class="separator">| </span> |
---|
533 | <form action="buglist.cgi" method="get" |
---|
534 | onsubmit="if (this.quicksearch.value == '') |
---|
535 | { alert('Please enter one or more search terms first.'); |
---|
536 | return false; } return true;"> |
---|
537 | <input type="hidden" id="no_redirect_bottom" name="no_redirect" value="0"> |
---|
538 | <script type="text/javascript"> |
---|
539 | if (history && history.replaceState) { |
---|
540 | var no_redirect = document.getElementById("no_redirect_bottom"); |
---|
541 | no_redirect.value = 1; |
---|
542 | } |
---|
543 | </script> |
---|
544 | <input class="txt" type="text" id="quicksearch_bottom" name="quicksearch" |
---|
545 | title="Quick Search" value=""> |
---|
546 | <input class="btn" type="submit" value="Search" |
---|
547 | id="find_bottom"></form> |
---|
548 | <a href="page.cgi?id=quicksearch.html" title="Quicksearch Help">[?]</a></li> |
---|
549 | |
---|
550 | <li><span class="separator">| </span><a href="page.cgi?id=reporting.html">Reports</a></li> |
---|
551 | |
---|
552 | |
---|
553 | |
---|
554 | |
---|
555 | <li id="new_account_container_bottom"> |
---|
556 | <span class="separator">| </span> |
---|
557 | <a href="createaccount.cgi">New Account</a> |
---|
558 | </li> |
---|
559 | |
---|
560 | <li id="mini_login_container_bottom"> |
---|
561 | <span class="separator">| </span> |
---|
562 | <a id="login_link_bottom" href="attachment.cgi?id=254038&action=diff&GoAheadAndLogIn=1" |
---|
563 | onclick="return show_mini_login_form('_bottom')">Log In</a> |
---|
564 | |
---|
565 | <form action="attachment.cgi?id=254038&action=diff" method="POST" |
---|
566 | class="mini_login bz_default_hidden" |
---|
567 | id="mini_login_bottom"> |
---|
568 | <input id="Bugzilla_login_bottom" required |
---|
569 | name="Bugzilla_login" class="bz_login" |
---|
570 | type="email" placeholder="Email Address"> |
---|
571 | <input class="bz_password" name="Bugzilla_password" type="password" |
---|
572 | id="Bugzilla_password_bottom" required |
---|
573 | placeholder="Password"> |
---|
574 | <input type="checkbox" id="Bugzilla_remember_bottom" |
---|
575 | name="Bugzilla_remember" value="on" class="bz_remember" |
---|
576 | checked> |
---|
577 | <label for="Bugzilla_remember_bottom">Remember</label> |
---|
578 | <input type="hidden" name="Bugzilla_login_token" |
---|
579 | value="1728771525-1SXMygPgxTnlINhEJtzsdTcEIy9YeFU2ppDoLWPjyCM"> |
---|
580 | <input type="submit" name="GoAheadAndLogIn" value="Log in" |
---|
581 | id="log_in_bottom"> |
---|
582 | <a href="#" onclick="return hide_mini_login_form('_bottom')">[x]</a> |
---|
583 | </form> |
---|
584 | </li> |
---|
585 | |
---|
586 | |
---|
587 | <li id="forgot_container_bottom"> |
---|
588 | <span class="separator">| </span> |
---|
589 | <a id="forgot_link_bottom" href="attachment.cgi?id=254038&action=diff&GoAheadAndLogIn=1#forgot" |
---|
590 | onclick="return show_forgot_form('_bottom')">Forgot Password</a> |
---|
591 | <form action="token.cgi" method="post" id="forgot_form_bottom" |
---|
592 | class="mini_forgot bz_default_hidden"> |
---|
593 | <label for="login_bottom">Login:</label> |
---|
594 | <input name="loginname" size="20" id="login_bottom" required |
---|
595 | type="email" placeholder="Your Email Address"> |
---|
596 | <input id="forgot_button_bottom" value="Reset Password" type="submit"> |
---|
597 | <input type="hidden" name="a" value="reqpw"> |
---|
598 | <input type="hidden" id="token_bottom" name="token" |
---|
599 | value="1728771525-CEE1wTFxD1xDK4e0DKfRY4DePDBE2i-yfYKnCD10riI"> |
---|
600 | <a href="#" onclick="return hide_forgot_form('_bottom')">[x]</a> |
---|
601 | </form> |
---|
602 | </li> |
---|
603 | </ul> |
---|
604 | </li> |
---|
605 | |
---|
606 | |
---|
607 | |
---|
608 | |
---|
609 | |
---|
610 | |
---|
611 | |
---|
612 | </ul> |
---|
613 | |
---|
614 | <div class="outro"></div> |
---|
615 | </div> |
---|
616 | |
---|
617 | </body> |
---|
618 | </html> |
---|