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

error: use of undeclared identifier 'getline'; did you mean 'std::getline'? #239

Open
yurivict opened this issue Apr 15, 2021 · 0 comments

Comments

@yurivict
Copy link

/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp:54:9: error: use of undeclared identifier 'getline'; did you mean 'std::getline'?
                                if (getline (&line, &count, pipe) < 0)
                                    ^~~~~~~
                                    std::getline
/usr/include/c++/v1/istream:1507:1: note: 'std::getline' declared here
getline(basic_istream<_CharT, _Traits>& __is,
^
/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp:54:9: error: no matching function for call to 'getline'
                                if (getline (&line, &count, pipe) < 0)
                                    ^~~~~~~
/usr/include/c++/v1/istream:1507:1: note: candidate template ignored: could not match 'basic_istream<type-parameter-0-0, type-parameter-0-1>' against 'char **'
getline(basic_istream<_CharT, _Traits>& __is,
^

Log: http://beefy9.nyi.freebsd.org/data/114amd64-default/569003/logs/vst3sdk-3.7.1.b.50.1.log (IPv6 URL)

@scheffle scheffle transferred this issue from steinbergmedia/vst3sdk Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants