|
Well I can see the cause of all this, but the solution without
generating a warning somewhere in the package builds is far from
simple. When this quite low level C was written, warnings were not as numerous as nowadays versions of gcc generate and probably not top priority anyway so long as it worked. I spent quite a long time trying various ways of removing warnings, but none were satisfactory for all usages of the variable, across all architectures. It essentially comes down to 32 bit and 64 bit differences in data type size. If you then specify a format size in a printf operation, it will always generate a warning under one architecture or another. Assigning with a (void*) cast, will do so too, hence the making of L1 and L2 void * probably The idea of the `address of` reference &L1 was probably to prevent a warning regards printf format %p requiring void **, but I would think it does not return what the function wants. In any case I have reverted the commits and removed the -Werror CFLAG for now to enable packages to build. Will take a while to filter through, not been able to test on my Mesa carded machine due to other issues, hence reverted in its entirety. Just using a package prior to these commits will keep you going for now. Thanks for the report and your testing to quickly narrow it down. regards On 05/03/19 19:24, Dennis wrote:
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. |
- Re: [Machinekit] Mesa 6i25 & 7i76 - Operation not... [email protected]
- Re: [Machinekit] Mesa 6i25 & 7i76 - Operatio... destracke
- Re: [Machinekit] Mesa 6i25 & 7i76 - Oper... Bas de Bruijn
- Re: [Machinekit] Mesa 6i25 & 7i76 - ... [email protected]
- Re: [Machinekit] Mesa 6i25 & 7i7... Dennis
- Re: [Machinekit] Mesa 6i25 &... [email protected]
- Re: [Machinekit] Mesa 6i25 ... Dennis
- Re: [Machinekit] Mesa 6i25 ... Dennis
- Re: [Machinekit] Mesa 6i25 ... cern
- Re: [Machinekit] Mesa 6i25 ... [email protected]
- Re: [Machinekit] Mesa 6i25 ... [email protected]
- Re: [Machinekit] Mesa 6i25 ... Bas de Bruijn
- Re: [Machinekit] Mesa 6i25 ... Charles Steinkuehler
- Re: [Machinekit] Mesa 6i25 ... [email protected]
- Re: [Machinekit] Mesa 6i25 ... John Morris
- Re: [Machinekit] Mesa 6i25 ... [email protected]
- Re: [Machinekit] Mesa 6i25 ... John Morris
- Re: [Machinekit] Mesa 6i25 ... [email protected]
- Re: [Machinekit] Mesa 6i25 ... John Morris
- Re: [Machinekit] Mesa 6i25 ... Dennis
- Re: [Machinekit] Mesa 6i25 ... [email protected]
