<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, 3 Oct 2018 at 09:17, Boris Kolpackov <<a href="mailto:boris@codesynthesis.com">boris@codesynthesis.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">MM <<a href="mailto:finjulhich@gmail.com" target="_blank">finjulhich@gmail.com</a>> writes:<br><br>> > Thanks! We've tried to compile it with "g++ (GCC) 8.1.1 20180502 (Red Hat<br>> > 8.1.1-1)" which is the closest to yours we could find. No errors. So it<br>> > looks like a fairly recent regression in GCC. Before I file a bug report,<br>> > can you confirm that this produces the error for you:<br>> ><br>> > g++ -DLIBBUTL_STATIC -DPKGCONFIG_IS_STATIC -std=c++2a -o init.o -c<br>> > -fdirectives-only init.o.ii<br>> <br>> Yes it produces the errors. attached.<br><br>Sorry for the delay in getting back to you on this.<br><br>We've initially thought this has something to do with newer GCC but now<br>we've tested with GCC 8.2 (on Debian) and everything works fine. So I<br>think this has something to do with your environment, most likely locale.<br><br>Could you therefore do the following:<br><br><br>1. Send the output of locale:<br><br>  $ locale</blockquote><div><div>LANG=en_GB.UTF-8</div><div>LC_CTYPE="en_GB.UTF-8"</div><div>LC_NUMERIC="en_GB.UTF-8"</div><div>LC_TIME="en_GB.UTF-8"</div><div>LC_COLLATE="en_GB.UTF-8"</div><div>LC_MONETARY="en_GB.UTF-8"</div><div>LC_MESSAGES="en_GB.UTF-8"</div><div>LC_PAPER="en_GB.UTF-8"</div><div>LC_NAME="en_GB.UTF-8"</div><div>LC_ADDRESS="en_GB.UTF-8"</div><div>LC_TELEPHONE="en_GB.UTF-8"</div><div>LC_MEASUREMENT="en_GB.UTF-8"</div><div>LC_IDENTIFICATION="en_GB.UTF-8"</div><div>LC_ALL=</div></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2. Override the locale for the install script and see if that helps:<br><br>  $ LC_ALL=C sh <a href="http://build2-install-x.y.z.sh/" rel="noreferrer" target="_blank">build2-install-X.Y.Z.sh</a></blockquote><div>I have built with bpkg this time</div></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>bpkg build odb@<a href="https://pkg.cppget.org/1/beta">https://pkg.cppget.org/1/beta</a> </div></div></div></div></blockquote>Should I then just try <blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>LC_ALL=C bpkg build odb@<a href="https://pkg.cppget.org/1/beta">https://pkg.cppget.org/1/beta</a></div></blockquote>Will LC_ALL propagate to subprocesses?<div><br></div><div>Thank you,</div><div><br></div><div>MM</div></div>