You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either #include <stdio.h> or std:: seems to be missing:
/wrkdirs/usr/ports/misc/thrill/work/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/misc/json2profile.cpp:527:18: error: use of undeclared identifier 'getline'; did you mean 'std::getline'?
while ((rb = getline(&line, &len, in)) >= 0) {
^~~~~~~
std::getline
/usr/include/c++/v1/istream:1507:1: note: 'std::getline' declared here
getline(basic_istream<_CharT, _Traits>& __is,
^
/wrkdirs/usr/ports/misc/thrill/work/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/misc/json2profile.cpp:527:18: error: no matching function for call to 'getline'
while ((rb = getline(&line, &len, in)) >= 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,
^
2 errors generated.
FreeBSD 11
The text was updated successfully, but these errors were encountered:
Either
#include <stdio.h>
orstd::
seems to be missing:FreeBSD 11
The text was updated successfully, but these errors were encountered: