I have the following error using your library :
DFRobot_TCS34725.cpp:14:14: error: 'float powf(float, float)' was declared 'extern' and later 'static' [-fpermissive]
I think now you could just use the std::powf function instead of defining it yourself, therefore deleting these lines :
https://github.com/DFRobot/DFRobot_TCS34725/blob/main/DFRobot_TCS34725.cpp#L14-L17