[Mono-dev] Latest HeapShot not compiling
Paul Melis
paul at science.uva.nl
Wed Dec 12 05:52:01 EST 2007
Paul Melis wrote:
>Hello,
>
>Both the latest tarball and SVN of a minute ago of heap-shot give the
>following compile error (mono 1.2.5.2):
>
>[...]
>gmcs -debug -out:HeapShot.Gui.Widgets.dll -target:library -r:System
>-pkg:gtk-sharp-2.0 -r:../HeapShot.Reader/HeapShot.Reader.dll
>-resource:class.png -resource:field.png -resource:gtk-gui/gui.stetic
>-resource:gtk-gui/objects.xml ./AssemblyInfo.cs ./gtk-gui/generated.cs
>./gtk-gui/HeapShot.Gui.Widgets.ObjectMapViewer.cs
>./gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs
>./ObjectMapViewer.cs ./ReferenceTreeViewer.cs
>./gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs(72,46): error
>CS1012: Too many characters in character literal
>./gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs(72,46): error
>CS1002: Expecting `;'
>Compilation failed: 2 error(s), 0 warnings
>make[1]: *** [HeapShot.Gui.Widgets.dll] Error 1
>make[1]: Leaving directory `/home/paul/c/heap-shot-svn/HeapShot.Gui.Widgets'
>make: *** [all-recursive] Error 1
>
>The relevant line is
>
> this.entryFilter.InvisibleChar = 'â^×^Ï';
>
>
Paul Melis wrote:
> Hello,
>
> Both the latest tarball and SVN of a minute ago of heap-shot give the
> following compile error (mono 1.2.5.2):
>
> [...]
> gmcs -debug -out:HeapShot.Gui.Widgets.dll -target:library -r:System
> -pkg:gtk-sharp-2.0 -r:../HeapShot.Reader/HeapShot.Reader.dll
> -resource:class.png -resource:field.png
> -resource:gtk-gui/gui.stetic -resource:gtk-gui/objects.xml
> ./AssemblyInfo.cs ./gtk-gui/generated.cs
> ./gtk-gui/HeapShot.Gui.Widgets.ObjectMapViewer.cs
> ./gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs
> ./ObjectMapViewer.cs ./ReferenceTreeViewer.cs
> ./gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs(72,46): error
> CS1012: Too many characters in character literal
> ./gtk-gui/HeapShot.Gui.Widgets.ReferenceTreeViewer.cs(72,46): error
> CS1002: Expecting `;'
> Compilation failed: 2 error(s), 0 warnings
> make[1]: *** [HeapShot.Gui.Widgets.dll] Error 1
> make[1]: Leaving directory
> `/home/paul/c/heap-shot-svn/HeapShot.Gui.Widgets'
> make: *** [all-recursive] Error 1
>
> The relevant line is
>
> this.entryFilter.InvisibleChar = 'â^×^Ï';
>
> Any clues what's going on?
>
>
(In reply to myself :)). I guess this is caused by an invalid UTF-8
sequence or something similar? The relevant file seems to be
auto-generated from gtk-gui/gui.stetic, which contains the InvisibleChar
definition.
Paul
More information about the Mono-devel-list
mailing list