On Wed, Aug 8, 2012 at 11:45 AM, Sébastien Doeraene
<sjrdoera...@gmail.com> wrote:
> Oh right, I had overlooked this one. :-s
>
> New guess: (it's an amendment)
> https://github.com/sjrd/mozart2/commit/9e1bddbf4f69755dce5f39ff505e940dda8bc3be

It fails when linking: http://pastebin.com/Vf7ER3hm

There are some warnings about signed overflow too.

>
> Thank you for your cooperation :-)

You're welcome :)

> Sébastien
>
>
> On Wed, Aug 8, 2012 at 6:37 PM, Gustavo A. Gómez Farhat
> <gustavo.gomez.far...@gmail.com> wrote:
>>
>> On Wed, Aug 8, 2012 at 11:19 AM, Sébastien Doeraene
>> <sjrdoera...@gmail.com> wrote:
>> > Oh, apparently your compiler does not support constructor delegation.
>> > But
>> > that's weird, because it's been available in clang since version 3.0.
>> >
>> > So, that other constructor of ContainedLString should also be faulty.
>> >
>> >   template <class It>
>> >   ContainedLString(It begin, It end) : ContainedLString(T(begin, end))
>> > {}
>> >
>> > However, this one is actually used. So it should be implemented in
>> > another
>> > way.
>> >
>> > Can you try this fix-for-the-fix:
>> >
>> > https://github.com/sjrd/mozart2/commit/e99e64e68fd57209a1d1341b48d12e1e31a172c0
>> > ?
>>
>> It fails: http://pastebin.com/ENAYwAMM
>>
>> >
>> > Cheers,
>> > Sébastien
>> >
>> >
>> > On Wed, Aug 8, 2012 at 6:04 PM, Sébastien Doeraene
>> > <sjrdoera...@gmail.com>
>> > wrote:
>> >>
>> >> Ha ... Doesn't make sense to me. :-s
>> >> But anyway, the faulty constructor does not seem to be needed. What
>> >> happens if you simply delete it? I mean, in LString, the constructor:
>> >>
>> >>   LString(VM vm, const LString<C>& other)
>> >>       : LString(vm, static_cast<const BaseLString<C>&>(other)) {}
>> >>
>> >> It should likely fix that compiling issue, but it might introduce a new
>> >> one ...
>> >>
>> >> Cheers,
>> >> Sébastien
>> >>
>> >>
>> >> On Wed, Aug 8, 2012 at 5:57 PM, Gustavo A. Gómez Farhat
>> >> <gustavo.gomez.far...@gmail.com> wrote:
>> >>>
>> >>> On Wed, Aug 8, 2012 at 10:53 AM, Sébastien Doeraene
>> >>> <sjrdoera...@gmail.com> wrote:
>> >>> > Wow! Is this error actually related to the "fix"? Didn't you get it
>> >>> > before
>> >>> > the fix too?
>> >>> > Just asking because it just seems to have nothing to do with an
>> >>> > additional
>> >>> > overload of build() :-s
>> >>>
>> >>> I did not get that error before, it appears when I apply the "fix".
>> >>>
>> >>> >
>> >>> > Sébastien
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Wed, Aug 8, 2012 at 5:45 PM, Gustavo A. Gómez Farhat
>> >>> > <gustavo.gomez.far...@gmail.com> wrote:
>> >>> >>
>> >>> >> Hi Sébastien, thanks for your response.
>> >>> >>
>> >>> >> On Wed, Aug 8, 2012 at 10:25 AM, Sébastien Doeraene
>> >>> >> <sjrdoera...@gmail.com> wrote:
>> >>> >> > Hi :-)
>> >>> >> >
>> >>> >> > I guess you're making a 32 bits build?
>> >>> >>
>> >>> >> Yes, it is.
>> >>> >>
>> >>> >> >
>> >>> >> > Does this alternative fix work for you:
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> > https://github.com/sjrd/mozart2/commit/4ba4fa5bb83e01923f7f83e2201e7308e1be5f83
>> >>> >> > ?
>> >>> >> > It's cleaner and more general than the one you suggest. If it
>> >>> >> > works,
>> >>> >> > I'll
>> >>> >> > push that to the official repo.
>> >>> >>
>> >>> >> It does not work, see http://pastebin.com/UKsQywBN
>> >>> >>
>> >>> >> >
>> >>> >> > Cheers,
>> >>> >> > Sébastien
>> >>> >> >
>> >>> >> > On Wed, Aug 8, 2012 at 4:47 PM, Gustavo A. Gómez Farhat
>> >>> >> > <gustavo.gomez.far...@gmail.com> wrote:
>> >>> >> >>
>> >>> >> >> Hello hackers, I am working with mozart2 on Debian Testing and
>> >>> >> >> it
>> >>> >> >> fails to compile, the error is http://pastebin.com/eWZy1XAd
>> >>> >> >>
>> >>> >> >> It can be fixed like this:
>> >>> >> >>
>> >>> >> >> result = build(vm,
>> >>> >> >> static_cast<nativeint>(vm->getReferenceTime()));
>> >>> >> >>
>> >>> >> >> My clang info:
>> >>> >> >>
>> >>> >> >> clang version 3.1 (tags/RELEASE_31/final)
>> >>> >> >> Target: i386-pc-linux-gnu
>> >>> >> >> Thread model: posix
>> >>> >> >>
>> >>> >> >> Thanks!
>> >>> >> >>
>> >>> >> >> --
>> >>> >> >> Gustavo Andrés Gómez Farhat
>> >>> >> >> Departamento de Electrónica y Ciencias de la Computación
>> >>> >> >> Pontificia Universidad Javeriana
>> >>> >> >> Cali
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> _________________________________________________________________________________
>> >>> >> >> mozart-hackers mailing list
>> >>> >> >> mozart-hackers@mozart-oz.org
>> >>> >> >> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >> > _________________________________________________________________________________
>> >>> >> > mozart-hackers mailing list
>> >>> >> > mozart-hackers@mozart-oz.org
>> >>> >> > http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> --
>> >>> >> Gustavo Andrés Gómez Farhat
>> >>> >> Departamento de Electrónica y Ciencias de la Computación
>> >>> >> Pontificia Universidad Javeriana
>> >>> >> Cali
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> _________________________________________________________________________________
>> >>> >> mozart-hackers mailing list
>> >>> >> mozart-hackers@mozart-oz.org
>> >>> >> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>> > _________________________________________________________________________________
>> >>> > mozart-hackers mailing list
>> >>> > mozart-hackers@mozart-oz.org
>> >>> > http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Gustavo Andrés Gómez Farhat
>> >>> Departamento de Electrónica y Ciencias de la Computación
>> >>> Pontificia Universidad Javeriana
>> >>> Cali
>> >>>
>> >>>
>> >>> _________________________________________________________________________________
>> >>> mozart-hackers mailing list
>> >>> mozart-hackers@mozart-oz.org
>> >>> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>> >>
>> >>
>> >
>> >
>> >
>> > _________________________________________________________________________________
>> > mozart-hackers mailing list
>> > mozart-hackers@mozart-oz.org
>> > http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>>
>>
>>
>> --
>> Gustavo Andrés Gómez Farhat
>> Departamento de Electrónica y Ciencias de la Computación
>> Pontificia Universidad Javeriana
>> Cali
>>
>> _________________________________________________________________________________
>> mozart-hackers mailing list
>> mozart-hackers@mozart-oz.org
>> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>
>
>
> _________________________________________________________________________________
> mozart-hackers mailing list
> mozart-hackers@mozart-oz.org
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers



-- 
Gustavo Andrés Gómez Farhat
Departamento de Electrónica y Ciencias de la Computación
Pontificia Universidad Javeriana
Cali
_________________________________________________________________________________
mozart-hackers mailing list                           
mozart-hackers@mozart-oz.org
http://www.mozart-oz.org/mailman/listinfo/mozart-hackers

Reply via email to