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

trunk\cbc\src\cbcgeneric.cpp abends with MSVisualStudio V8 #23

Closed
svigerske opened this issue Mar 3, 2019 · 2 comments
Closed

trunk\cbc\src\cbcgeneric.cpp abends with MSVisualStudio V8 #23

svigerske opened this issue Mar 3, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: @jpfasano

Original creation time: 2007-06-29 00:57:42

Assignee: somebody

Version:

trunk\cbc\src\cbcgeneric.cpp abends with MSVisualStudio V8 because CbcOsiParamUtils::setOsiSolverInterfaceDefaults uses an unintialized variable. The uninitialized variable is 'result' on line 186 of file trunk\cbc\src\cbcgenosiparamutils.cpp:

if (!result)

{ result = osi->setIntParam(OsiNameDiscipline,0) ; }

'result' is declared on line 177, but never given an initial value.

@svigerske svigerske added bug Something isn't working component1 labels Mar 3, 2019
@svigerske
Copy link
Member Author

Comment by @jjhforrest created at 2007-07-16 20:35:03

added correct use of return code

@svigerske
Copy link
Member Author

Comment by @jjhforrest created at 2007-07-16 20:35:03

Resolution: fixed

coffinsfcompute pushed a commit to sfcompute/Cbc that referenced this issue Oct 11, 2024
This adds a tiny build-time dependency on pkg-config. Note that if
`pkg-config` is not present, or is present but fails to locate the
library or execute, nothing weird happens: the user gets the same
behaviour they've had until now.

I've added a line to README to mention `pkg-config` too.

Fixes coin-or#23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant