Those warnings are harmless but I'll take a look and make sure everything
compiles without any warnings.


On Sat, Jan 5, 2013 at 2:46 PM, David Paleino <[email protected]> wrote:

> On Sat, 05 Jan 2013 16:31:23 +0100, Petter Reinholdtsen wrote:
>
> > Hi.
> >
> > I just created a small set of patches for leocad for the Debian
> > packaging.  I suspect some of them are interesting to include in the
> > official package.  Please have a look at
> > <URL:
> >
> http://anonscm.debian.org/gitweb/?p=collab-maint/leocad.git;a=tree;f=debian/patches;h=11650e04ca79e63375f9f8892dcf022473a19732;hb=HEAD
> > > and include them in a future version of leocad. :)
>
> I guess Leonardo should have a look at latest HEAD, instead of a specific
> commit :)
>
>
> http://anonscm.debian.org/gitweb/?p=collab-maint/leocad.git;a=tree;f=debian/patches;hb=HEAD
>
> By the way, the compilation process issues some warnings which may affect
> functionality of the final binary:
>
> common/project.cpp: In member function ‘void
> Project::OnLeftButtonDown(View*, int, int, bool, bool)’:
> common/project.cpp:7792:13: warning: enumeration value ‘LC_OBJECT_CURVE’
> not handled in switch [-Wswitch]
> common/project.cpp:7792:13: warning: enumeration value
> ‘LC_OBJECT_CURVE_POINT’ not handled in switch [-Wswitch]
> common/project.cpp:7833:12: warning: enumeration value ‘LC_OBJECT_CURVE’
> not handled in switch [-Wswitch]
> common/project.cpp:7833:12: warning: enumeration value
> ‘LC_OBJECT_CURVE_POINT’ not handled in switch [-Wswitch]
> common/project.cpp: In member function ‘void
> Project::OnLeftButtonDoubleClick(View*, int, int, bool, bool)’:
> common/project.cpp:8093:14: warning: enumeration value ‘LC_OBJECT_CURVE’
> not handled in switch [-Wswitch]
> common/project.cpp:8093:14: warning: enumeration value
> ‘LC_OBJECT_CURVE_POINT’ not handled in switch [-Wswitch]
>
> It would be nice if these could get fixed too (I have no sufficient
> knowledge
> of leocad's inner workings to provide a patch myself).
>
> Kindly,
> David
>
> --
>  . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
>  : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
>  `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
>    `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
>
> _______________________________________________
> Leocad mailing list
> [email protected]
> https://list.gerf.org/listinfo/leocad
>
>
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to