bug-moe
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-moe] Build failure with latest clang compiler


From: Antonio Diaz Diaz
Subject: Re: [Bug-moe] Build failure with latest clang compiler
Date: Mon, 02 Oct 2017 16:38:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello,

FX wrote:
window_vector.cc:1033:21: error: call to member function 'insert' is ambiguous
       { year_string.insert( 0U, 1, '0' + ( year % 10 ) ); year /= 10; }
         ~~~~~~~~~~~~^~~~~~

Thanks. Does adding a 'U' to the second argument fix the problem?

        { year_string.insert( 0U, 1U, '0' + ( year % 10 ) ); year /= 10; }


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]