Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solvers: Fix incorrect f_OPHOL declaration #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tatsh
Copy link

@Tatsh Tatsh commented Dec 2, 2024

gentoo/gentoo#39303
coin-or-tools/ThirdParty-ASL#8

This change fixes the following issue with LTO:

solvers/fgh_read.c:101:15: error: function 'f2_HOL_ASL' redeclared as variable
  101 |  extern char* f_OPHOL;
      |               ^
solvers/rops2.c:1019:1: note: previously declared here
 1019 | f_OPHOL(expr *e A_ASL)
      | ^
lto1: fatal error: errors during merging of translation units
compilation terminated.

@Tatsh Tatsh changed the title solvers: Fix incorrect f_OPHOL declarations solvers: Fix incorrect f_OPHOL declaration Dec 3, 2024
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