I'm having problems compiling the 2nd gen gas detection algorithm libraries. When I try to build the program, I keep getting this same error:

"C:\Program Files\Microchip\xc8\v2.36\pic\sources\c99\common\roundf.c:12:: error: (1098) conflicting declarations for variable "_roundf" (/builds/industrial/zmod4xxx/zmod4xxx_generic_example/libraries/oaq_2nd_gen/src/oaq_2nd_gen.c:261)
(908) exit status = 1"

I already tried a few possilble solutions, but to no avail. Since I can´t change the library source code, I was wondering if you guys could help.

I'm using MPLAB v6.05, with xc8 v2.40 and a PIC18F27K42 MCU.
Any help would be greatly appreciated.

Best regards,
Carlos Silva