Share

Knitter

Tracker: Patches

5 Fix compilation problem on Ubuntu Hardy Heron - ID: 1976732
Last Update: Comment added ( dpw13 )

With libwxgtk2.8-dev installed (2.8.7.1), knitter refuses to compile due to
ambiguous casting in knitterFrame.cpp in the 0.2.2 release. Attached is a
two line patch to appropriately cast to (const wxChar *), alleviating the
issue.


Jeffrey Buchbinder ( rufustfirefly ) - 2008-05-28 14:17

5

Closed

Fixed

Dane Wagner

None

None

Public


Comment ( 1 )




Date: 2008-05-28 21:57
Sender: dpw13Project Admin


The attached fix works for non-unicode builds, but will cause crashes in
Unicode builds (like OSX). The fix is in the OSX build, but did not make
it back into CVS until now. From what I can tell, the "correct" fix is to
use wxString and use the correct conversion functions to convert from
multi-byte C strings to wxChar.

Thanks for the catch! A fix is in CVS and will be included in the next
release.


Log in to comment.

Attached File ( 1 )

Filename Description Download
knitter-0.2.2-casting.diff Patch for casting difficulties Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2008-05-28 21:57 dpw13
resolution_id None 2008-05-28 21:57 dpw13
assigned_to nobody 2008-05-28 21:57 dpw13
close_date - 2008-05-28 21:57 dpw13
File Added 279318: knitter-0.2.2-casting.diff 2008-05-28 14:17 rufustfirefly