I don't think there is anything invalid about reinterpret_cast of point/int - 
that's the whole purpose.  My point was that the actual LeoCAD compiler 
settings between the IDE, command line, and platforms is not equivalent so I 
get different warnings depending on where I'm building it - there's probably 
some qmake massaging that would be necessary to make that more consistent.  

Even then some of the warnings are mutually exclusive.  For example, 
unreferenced formal parameters - if I implement an interface and don't use an 
argument VS will warn about unreferenced args.  If I put a dummy reference in 
to make VS happy then gcc warns that the reference does nothing.

Caveat: I am a complete Linux noob.

- Rod

----------------------------------------
Date: Fri, 3 Jan 2014 17:59:59 -0500
From: [email protected]
To: [email protected]
Subject: Re: Patch: Group Toolbar
On 03/01/14 05:37 PM, Rodney Rushing wrote:
> See if this one works better.
>
> I compile in VS2010 and whatever Ubuntu is giving me at the command
> line. I notice that the error checking is not equivalent. Even on
> windows I notice the warning levels are different for command line
> build and IDE build. Some of the checks are mutually exclusive
> between Windows and Ubuntu so I can't get it to build warning free on
> both platforms.
>
Here is another patch for more warnings.
I don't know which version of ubuntu you run, but here I do have gcc 4.8.2
And yes, Visual Studio is known to let invalid code go through and
ignore some stuff.
Hub
_______________________________________________
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