MD_DS3231 with platformio

I have used MD_DS3231 in couple of the projects with the arduino IDE successfully. Thanks to Marco. Recently in have moved to Platformio and the MD_DS3231 library gives the following error..

C:\Users\BINNYANDREWS.platformio\lib\MD_DS3231_ID1402\src\MD_DS3231.h: In constructor 'MD_DS3231::MD_DS3231()':
C:\Users\BINNYANDREWS.platformio\lib\MD_DS3231_ID1402\src\MD_DS3231.h:748:11: error: 'MD_DS3231::_century' will be initialized after [-Werror=reorder]
uint8_t _century;
^
C:\Users\BINNYANDREWS.platformio\lib\MD_DS3231_ID1402\src\MD_DS3231.h:745:25: error: 'void (* MD_DS3231::_cbAlarm1)()' [-Werror=reorder]
void (*_cbAlarm1)(void);
^
C:\Users\BINNYANDREWS.platformio\lib\MD_DS3231_ID1402\src\MD_DS3231.cpp:112:1: error: when initialized here [-Werror=reorder]
MD_DS3231::MD_DS3231() : yyyy(0), mm(0), dd(0), h(0), m(0), s(0),

Hoping Marco, the author of this library will help here..
^