Skip to content

Add enable-legacy-macros option.  #3029

@WardF

Description

@WardF

As observed in #3017 and #3018, the change introduced in #2911 (discussed in #2858), re: refactoring the macro _FillValue to NC_FillValue has caused some issues for projects; it is easily fixed, but it is a problem when the issue potentially requires changing a projects code. While it is tempting to say it is the problem of downstream projects, we should provide a mechanism to ameliorate the inconvenience and also recognize that for larger projects, there are often processes in place which make 'just change your code' more difficult than it sounds.

I'll add an option, 'enable-unsafe-macros', which will be off by default but, when true, will define _FillValue in parallel with NC_FillValue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions