← Back to team overview

kicad-developers team mailing list archive

Re: common.h To_User_Unit


On Mon, Dec 05, 2011 at 10:59:57AM -0600, Dick Hollenbeck wrote:
> Well the biu-plan.txt says clearly that the PCBNew internal units are a compile time
> decision, period.
> "internal_unit_value" is a compile time decision, and therefore done away with within
> PCBNew under that plan.

The 'problem' is that the common.cpp stuff is compiled alone and then
linked to *both* pcbnew and eeschema. You could either:

- Compile twice the common code with different defines/constants


- Adopt the same bi(l)u for both eeschema and pcbnew

Anyway I would find a way to completely junk that parameter and
everything related to it (no usefulness whatsoever). I'd vote for the
second alternative since in eeschema there is not a lot of dimension
related stuff (most of it is the sheet handling which is already in

Lorenzo Marcantonio
Logos Srl

Follow ups