This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Heiko,
> I solved the problem in my source, not in the udunits header since this
> won't be portable, though it would be nice if you could include it into
> the next version udunits 1.12.5.
It will be.
> Another idea for improvements of the udunits header: compatibility with
> c++. Would be nice to see the header being surrounded by
>
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> ... current header ...
>
> #ifdef __cplusplus
> }
> #endif
Good idea. Done.
Thanks for reporting this stuff.
> Best regards,
>
> Heiko
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: NCC-586025
Department: Support UDUNITS
Priority: Normal
Status: Closed