ID 549552 - A clash between `GeolibCookInterface::GetCurrentTime()` and the `GetCurrentTime()` macro on Windows produces a compiler warning

Follow

Problem summary

On Windows systems, a compiler warning (or error, depending on compiler) is produced in the translation units where FnGeolibCookInterface.h is included:

B:\0\Apps\Geolib3\PluginApis\include\FnGeolib/op/FnGeolibCookInterface.h(927): warning C4002: too many arguments for function-like macro invocation 'GetCurrentTime'

Customer reported version
Katana 3.2

Customer reported platform
Windows 

Steps to reproduce
1)  Have a translation unit where FnGeolibCookInterface.h is included.

Expected behaviour
There should be no clash.

Resulting behaviour
The following warning appears: B:\0\Apps\Geolib3\PluginApis\include\FnGeolib/op/FnGeolibCookInterface.h(927): warning C4002: too many arguments for function-like macro invocation 'GetCurrentTime'

Workaround
Unknown.

Reproduced by engineering in:
  • Katana 2.5v1 - Affected

    We're sorry to hear that

    Please tell us why