Skip to content

Conversation

@theory
Copy link

@theory theory commented Jan 25, 2026

The --headers-dir option tells abidw where to find the headers for it to consider. In abidw 2.8 and later, it implies --drop-private-types, thus evaluating only ABI changes in header files, not private ABI changes. Pass it explicitly in order to support earlier versions, as well.

This change requires setting the options later in execution, so that $installdir is available to pass as part of the --headers-dir option.

Only append the --drop-private-types option if it hasn't already been specified in the abidw_flags_list configuration, but always pass --headers-dir, since it can be specified multiple times, and we always want to include the Postgres headers.

The --headers-dir option tells abidw where to find the headers for it to
consider. In abidw 2.8 and later, it implies --drop-private-types, thus
evaluating only ABI changes in header files, not private ABI changes.
Pass it explicitly in order to support earlier versions, as well.

This change requires setting the options later in execution, so that
`$installdir` is available to pass as part of the --headers-dir option.

Only append the --drop-private-types option if it hasn't already been
specified in the `abidw_flags_list` configuration, but always pass
--headers-dir, since it can be specified multiple times, and we always
want to include the Postgres headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant