<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Yes, remove compilation flag '-fno-rtti' from you makefile or
cmakefile. If you use meson, then set cpp_rtti to true in
default_options for project.<br>
It is known problem in boost 1.74.0<br>
<a class="moz-txt-link-freetext" href="https://github.com/openbmc/x86-power-control/issues/7">https://github.com/openbmc/x86-power-control/issues/7</a><br>
Thanks,<br>
Jozef<br>
</p>
<div class="moz-cite-prefix">On 12/9/2020 17:00 PM, Jayashree D
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:SG2PR04MB3093F18D320A5361E75D7EC5E1CC0@SG2PR04MB3093.apcprd04.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt">Classification:
<b><span style="color:green">Public</span></b><span
style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal">Hi Team, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am getting the following error in Gerrit
OpenBMC CI issues. Please provide some inputs/suggestions on
this.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/usr/local/include/boost/asio/execution/any_executor.hpp:
In static member function ‘static const std::type_info&
boost::asio::execution::detail::any_executor_base::target_type_void()’:<o:p></o:p></p>
<p class="MsoNormal">/usr/local/include/boost/asio/execution/any_executor.hpp:811:23:
error: cannot use ‘typeid’ with ‘-fno-rtti’<o:p></o:p></p>
<p class="MsoNormal"> 811 | return typeid(void);<o:p></o:p></p>
<p class="MsoNormal"> | ^<o:p></o:p></p>
<p class="MsoNormal">/usr/local/include/boost/asio/execution/any_executor.hpp:
In static member function ‘static const std::type_info&
boost::asio::execution::detail::any_executor_base::target_type_ex()’:<o:p></o:p></p>
<p class="MsoNormal">/usr/local/include/boost/asio/execution/any_executor.hpp:851:21:
error: cannot use ‘typeid’ with ‘-fno-rtti’<o:p></o:p></p>
<p class="MsoNormal"> 851 | return typeid(Ex);<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Jayashree<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<font size="1" face="Arial" color="Gray">::DISCLAIMER::<br>
<hr>
The contents of this e-mail and any attachment(s) are
confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or may contain viruses in
transmission. The e mail and its contents (with or without
referred errors) shall therefore not attach any liability on the
originator or HCL or its affiliates. Views or opinions, if any,
presented in this email are solely those of the author and may
not necessarily reflect the views or opinions of HCL or its
affiliates. Any form of reproduction, dissemination, copying,
disclosure, modification, distribution and / or publication of
this message without the prior written consent of authorized
representative of HCL is strictly prohibited. If you have
received this email in error please delete it and notify the
sender immediately. Before opening any email and/or attachments,
please check them for viruses and other defects.<br>
<hr>
</font>
</blockquote>
</body>
</html>