Re: Compiling PowerLoom C++
Thomas Russ <[email protected]> Sun, 14 Feb 2010 09:44:32 +0000
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <[email protected]> |
I don't think we've tried compiling PowerLoom with gcc version 4.4.x =
yet. Typically, new releases of GCC tend to get a bit pickier about =
various C++ constructs, and it sounds a bit like that is what is =
happening here.
We'll have to look into this.
On Feb 14, 2010, at 4:40 AM, Cameron Ross wrote:
> Hello,
>
> I'm trying the compile the C++ version of PowerLoom version 3.2.52. =
> Running make from .../native/cpp/stella gives copious errors similar =
> to: hierarchy.cc:97: error: cast from =91stella::Object*=92 to =
> =91stella::boolean=92 loses precision. This error refers to what seems =
> to be a recurring theme throughout PowerLoom's C++ codebase. Just =
> wondering why the boolean cast is required. Also, wondering why its =
> not compiling for me, when clearly this idiom must have worked with =
> gcc at some point. I'm running 64bit Ubuntu Linux 9.10 with g++ =
> version 4.4.1. Note that the code associated with this specific =
> error is:
>
> if (!((boolean)(self))) {
> stream << "!NULL!";
> }
>
> Thanks,
> Cameron Ross
>
> _______________________________________________
> powerloom-forum mailing list
> [email protected]
> http://mailman.isi.edu/mailman/listinfo/powerloom-forum