From: Stefan Janecek (stefan.janecek_at_jku.at)
Date: Sat Aug 06 2005 - 16:31:32 CEST
From: Stefan Janecek <stefan.janecek@jku.at> Date: Sat, 06 Aug 2005 16:31:32 +0200 Message-Id: <1123338692.10394.4.camel@localhost> Subject: Re: [taskjuggler] Building issues on RHEL4
On Sat, 2005-08-06 at 15:55 +0200, jos@xos.nl wrote:
>
> Hi,
>
> Compiling TaskJuggler 2.1.1 fails on RHEL4 with the following error:
>
> TjReportRow.cpp: In constructor `TjReportRow::TjReportRow(int)':
> TjReportRow.cpp:19: error: array bound forbidden after parenthesized type-id
> TjReportRow.cpp:19: note: try removing the parentheses around the type-id
> make[3]: *** [TjReportRow.o] Error 1
>
> I removed the parentheses as suggested and that worked. Is this safe to do? If this is correct, can it be changed in the next version?
This is a gcc 3.4 issue: parentheses around the type name when
allocating arrays with a 'new' expression are rejected since the gcc 3.4
series, see http://www.gnu.org/software/gcc/gcc-3.4/changes.html.
Yes, it should be safe to simply remove them.
>
> Later on, generating the documentation fails because the file /usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd does not exist. Will this also work with the 4.3 DTD (which I have installed, but with a completely different pathname on RHEL4)?
>
> Thanks,
> Jos Vos <jos@xos.nl>
>
-- To unsubscribe, email the address listed in the List-Unsubscribe header For additional commands, email: taskjuggler-help@suse.com
This archive was generated by hypermail 2.1.7 : Sat Aug 06 2005 - 16:32:23 CEST