Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2024 12:13:48 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   base64.h problems with rtorent port
Message-ID:  <CAFDf7UJ3uc0jUasWwOUK1cQkWV65Za9uR=z6kcPCaD36QwcX1A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000d490b3062a3f6565
Content-Type: text/plain; charset="UTF-8"

Hello,

Looking for help to figure out a base64.h and tinyxml2:
https://github.com/rakshasa/rtorrent/issues/1353

Any help is welcome, thanks

```
--- rpc/xmlrpc_tinyxml2.o ---
rpc/xmlrpc_tinyxml2.cc:129:35: error: no member named 'decode_base64' in
namespace 'utils'
  129 |     return
torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value())));
      |                            ~~~~~~~^
rpc/xmlrpc_tinyxml2.cc:129:56: error: no member named 'remove_newlines' in
namespace 'utils'
  129 |     return
torrent::Object(utils::decode_base64(utils::remove_newlines(child_element->ToText()->Value())));
      |                                                 ~~~~~~~^
--- input/manager.o ---
3 warnings generated.
--- display/window.o ---
depbase=`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++
-std=c++14 -DHAVE_CONFIG_H -I. -I..   -I. -I.. -isystem /usr/local/include
 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -Wall -pthread
 -I/usr/local/include -I/usr/local/include -MT display/window.o -MD -MP -MF
$depbase.Tpo -c -o display/window.o display/window.cc && mv -f $depbase.Tpo
$depbase.Po
--- rpc/xmlrpc_tinyxml2.o ---
1 warning and 2 errors generated.
*** [rpc/xmlrpc_tinyxml2.o] Error code 1
```

-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--000000000000d490b3062a3f6565
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>Looking for help to f=
igure out a base64.h and tinyxml2:</div><div><a href=3D"https://github.com/=
rakshasa/rtorrent/issues/1353">https://github.com/rakshasa/rtorrent/issues/=
1353</a></div><div><br></div><div>Any help is welcome, thanks</div><div><br=
></div><div>```</div><div>--- rpc/xmlrpc_tinyxml2.o ---<br>rpc/xmlrpc_tinyx=
ml2.cc:129:35: error: no member named &#39;decode_base64&#39; in namespace =
&#39;utils&#39;<br>=C2=A0 129 | =C2=A0 =C2=A0 return torrent::Object(utils:=
:decode_base64(utils::remove_newlines(child_element-&gt;ToText()-&gt;Value(=
))));<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0~~~~~~~^<br>rpc/xmlr=
pc_tinyxml2.cc:129:56: error: no member named &#39;remove_newlines&#39; in =
namespace &#39;utils&#39;<br>=C2=A0 129 | =C2=A0 =C2=A0 return torrent::Obj=
ect(utils::decode_base64(utils::remove_newlines(child_element-&gt;ToText()-=
&gt;Value())));<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ~~~~~~~^<br>=
--- input/manager.o ---<br>3 warnings generated.<br>--- display/window.o --=
-<br>depbase=3D`echo display/window.o | sed &#39;s|[^/]*$|.deps/&amp;|;s|\.=
o$||&#39;`; c++ -std=3Dc++14 -DHAVE_CONFIG_H -I. -I.. =C2=A0 -I. -I.. -isys=
tem /usr/local/include =C2=A0-O2 -pipe -fstack-protector-strong -isystem /u=
sr/local/include -fno-strict-aliasing =C2=A0-isystem /usr/local/include =C2=
=A0-DNDEBUG -Wall -pthread =C2=A0-I/usr/local/include -I/usr/local/include =
-MT display/window.o -MD -MP -MF $depbase.Tpo -c -o display/window.o displa=
y/window.cc &amp;&amp; mv -f $depbase.Tpo $depbase.Po<br>--- rpc/xmlrpc_tin=
yxml2.o ---<br>1 warning and 2 errors generated.<br>*** [rpc/xmlrpc_tinyxml=
2.o] Error code 1</div><div>```<br></div><br><span class=3D"gmail_signature=
_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature" data-smar=
tmail=3D"gmail_signature"><div dir=3D"ltr"><div><font color=3D"#888888">Nun=
o Teixeira</font></div><div><div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div></div>

--000000000000d490b3062a3f6565--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJ3uc0jUasWwOUK1cQkWV65Za9uR=z6kcPCaD36QwcX1A>