I fixed that on master: https://github.com/LinuxCNC/linuxcnc/pull/827

--
Regards,
Damian


 ---- On Fri, 26 Jun 2020 15:44:44 +0200 Rod Webster <[email protected]> wrote 
----
 > I had a quick look with grep and I could not see anywhere in classicladder
 > that these variables were referenced aside from the procedures directly
 > following.
 > Seems odd that they are declared as a global scope and not local to the
 > procedures that use them.
 > 
 > Rod Webster
 > *1300 896 832*
 > +61 435 765 611
 > VMN®
 > www.vmn.com.au
 > 
 > 
 > 
 > On Fri, 26 Jun 2020 at 22:51, andy pugh <[email protected]> wrote:
 > 
 > > Reported on the forum when compiling for Arch, but looks flaky at best.
 > >
 > >
 > > https://github.com/LinuxCNC/linuxcnc/blob/2.7/src/hal/classicladder/files_project.c#L159
 > >
 > > https://github.com/LinuxCNC/linuxcnc/blob/2.7/src/hal/classicladder/files.c#L1298
 > >
 > > I don't know if this is meant to create a limited-scope global or two
 > > independent variables, but it is hard to argue that the compiler is
 > > wrong to complain.
 > >
 > > --
 > > atp
 > > "A motorcycle is a bicycle with a pandemonium attachment and is
 > > designed for the especial use of mechanical geniuses, daredevils and
 > > lunatics."
 > > — George Fitch, Atlanta Constitution Newspaper, 1912
 > >
 > >
 > > _______________________________________________
 > > Emc-developers mailing list
 > > [email protected]
 > > https://lists.sourceforge.net/lists/listinfo/emc-developers
 > >
 > 
 > _______________________________________________
 > Emc-developers mailing list
 > [email protected]
 > https://lists.sourceforge.net/lists/listinfo/emc-developers
 >


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to