https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124265
--- Comment #8 from Liam Powell <liam at liampwll dot com> ---
> No human being would use Dimension_System for a GUI!
We use it all over the place internally, not simply for a GUI. The user can
control parameters that use Dimension_System types, therefore it makes sense
for those types to be exposed in records that are exposed via our API and
through that, our GUI.
As an example, we allow the user to set a velocity value, but it only makes
sense for this value to be between 1 mm/s and 5 mm/s (as an example). These
constraints are encoded in a record type like so:
type User_Config_Motion_Gcode is record
Default_G1_Feedrate : Velocity range 1.0E-100 * mm / s .. 1.0E100 * mm /
s := 0.1 * mm / s;
-- Sets the default feedrate to use for G1 before a G1 command is
executed with an F parameter.
end record
with Annotate => (Prunt_Config, User_Config);
Our code generator picks up these annotations and through a series of other
steps and eventually exposes them via our configuration API.
I'm not asking you fix this bug or any other bug I submit, but it is insulting
to have all my bug reports closed and to be branded as a liar after I spent
hours going through every single bug I've ever reported and showing exactly
what code they came from. I've spent a significant amount of time finding the
root cause for this bug and others I have submitted and you're just dismissing
all that because you for whatever reason still think I'm a liar.