<html><head></head><body><div class="ydp1f81f81cyahoo-style-wrap" style=""><div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"></div>
<div dir="ltr" data-setdir="false" style="font-family: verdana, helvetica, sans-serif; font-size: 13px;">Thanks <span>Nemanja for quick response.</span></div><div dir="ltr" data-setdir="false" style="">Yes, I just realized that I used -Osize.</div><div dir="ltr" data-setdir="false" style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"><span>The issue is resolved.</span></div><div dir="ltr" data-setdir="false" style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"><span>Regards,</span></div><div dir="ltr" data-setdir="false" style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"><span>Dennis</span></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"><br></div>
</div><div id="ydp66d3073dyahoo_quoted_1035726116" class="ydp66d3073dyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, October 3, 2019, 12:02:40 PM PDT, Nemanja Ivanovic <nemanja.i.ibm@gmail.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="ydp66d3073dyiv9923214915"><div><div dir="ltr"><div>Does your invocation of clang involve -Osize?<br clear="none"></div>You probably mean -Os -Oz.<br clear="none"></div><br clear="none"><div class="ydp66d3073dyiv9923214915gmail_quote"><div class="ydp66d3073dyiv9923214915yqt9095446616" id="ydp66d3073dyiv9923214915yqt81793"><div class="ydp66d3073dyiv9923214915gmail_attr" dir="ltr">On Thu, Oct 3, 2019 at 2:56 PM Dennis Nguyen via llvm-dev <<a shape="rect" href="mailto:llvm-dev@lists.llvm.org" rel="nofollow" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br clear="none"></div><blockquote class="ydp66d3073dyiv9923214915gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="font-family:verdana, helvetica, sans-serif;font-size:13px;"><div dir="ltr">Hello everyone,</div><div dir="ltr"><br clear="none"></div><div dir="ltr">I was using LLVM 4.0.3 compiler and able to build my code. When I switch to LLVM 9.0.0, I got the following error:</div><div dir="ltr"><span>error: invalid integral value 'size' in '-Osize'</span><br clear="none"></div><div dir="ltr"><span><br clear="none"></span></div><div dir="ltr">I use sizeof() function but there is no variable defined as "size".</div><div dir="ltr">How to resolve the error?</div><div dir="ltr">Thanks</div></div></div>_______________________________________________<br clear="none">
LLVM Developers mailing list<br clear="none">
<a shape="rect" href="mailto:llvm-dev@lists.llvm.org" rel="nofollow" target="_blank">llvm-dev@lists.llvm.org</a><br clear="none">
<a shape="rect" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="nofollow" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br clear="none">
</blockquote></div></div></div></div></div>
</div>
</div></body></html>