Re: Fix for compilation error

Tony Graham <[email protected]> Fri, 09 Sep 2005 15:35:32 +0100
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
Stefan Seefeld <[email protected]> writes:
> Tony Graham wrote:
>>>It is unlikely that an FoImage will be created for which fo_image_get_width()
>>>and fo_image_get_height() will never be called, so it's probably best to
>>>create the FoDatatypes when the image is created.
>> Done.
>
> ...but I'm still getting
>
> fo-image.c: In function `fo_image_get_height':
> fo-image.c:286: error: assignment of read-only member `height'
>
> even though I updated from cvs before running 'make'. Am I missing something ?

Cut-and-paste is a powerful tool when used properly.  It wasn't in this case,
since I cut once and pasted twice.  The second cut has now been made.

Regards,


Tony.



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf