[Beremiz-devel] [MatIEC][PATCH] Fix xor operator for ANY_BIT types

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] [MatIEC][PATCH] Fix xor operator for ANY_BIT types

Beremiz-Devel mailing list
Hi Mario,

XOR operator was broken for ANY_BIT types. No XOR__[DL]WORD__[DL]WORD
functions were generated.

Error during compilation:
build/POUS.c:23:33: warning: implicit declaration of function ‘XOR__DWORD__DWORD’; did you mean ‘OR__DWORD__DWORD’? [-Wimplicit-function-declaration]
   __SET_VAR(data__->,XOR18_OUT,,XOR__DWORD__DWORD(
                                 ^
The fix is attached.

--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

fix_xor.patch (550 bytes) Download Attachment
signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] [MatIEC][PATCH] Fix xor operator for ANY_BIT types

Beremiz-Devel mailing list

 Hi Andrey,


On Tuesday 19 September 2017 16:42:52 [hidden email]
wrote:
> XOR operator was broken for ANY_BIT types. No XOR__[DL]WORD__[DL]WORD
> functions were generated.


 Thanks!

 It is now in my repository.


 Cheers,

     Mario.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel