make error in rb_plugin_deprecated.h

In the make of my fp Plugin on Windows 10 using minGW and MSYS, I’m getting a number of errors in compiling involving rb_plugin_deprecated.h. They are all of the same type:

c:/RMDProjects/RBplugins/Includes/rb_plugin_deprecated.h:391:123: error: declaration of C function ‘void REALDrawPicturePrimitive(REALgraphics, REALpicture, const Rect*, int)’ conflicts with
REAL_DEPRECATED void REALDrawPicturePrimitive(REALgraphics context, REALpicture pic, const Rect *rBounds, int bTransparent);

How can I resolve this problem?

Well, maybe you could simply replace all the REAL_DEPRECATED defines on the top with just lines to

#define REAL_DEPRECATED
#define REAL_DEPRECATED_(reason)

does that help?