`Previous declaration` error after importing a library, but only in one of the projects

If you are using C tasks and using standard C functions there is a namespace collision. You should use the AsBrMath library instead.

For new applications, functions/function blocks from the AsBrMath library should be used. The AsMath library is only available to ensure compatibility.

The range of functions in the AsMath library have been migrated to the AsBrMath library.

The migration should be painless with the Find and Replace in files function to replace all the calls with AsBrMath versions, which have brm prefixes

for example:
floor → brmfloor