Skip to content

Conversation

chrhansk
Copy link
Contributor

Certain types have been deprecated in coin-or/Ipopt@fc44469c two years back:

Old New
Number ipnumber
Int int
Index ipindex

They are still used in the interface, causing many warnings:

warning: ‘Int’ is deprecated [-Wdeprecated-declarations]

This patch fixes these warnings by using the new types throughout the interface.

@chrhansk
Copy link
Contributor Author

Edit: This seems to preclude old (< 3.14, pre 2021) versions of Ipopt...

@moorepants
Copy link
Collaborator

We currently support building against IPOPT available in Ubuntu 22.04 (even 18.04 is still technically supported). These are IPOPT=3.11. You'll need to make this PR work with both the old and new types until we drop support. Oddly the Debian Ipopt version does not seem to have been updated in many years.

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.

2 participants