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
when run "g++ -O3 -std=c++11 realtimesimulation.cpp Hungarian.cpp" with MinGW, error will be like:
In file included from carpooling.h:2,
from realtime_simulation.cpp:3:
ioD.h: in function ‘long long int checkSize(char*)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:107:2: Note:in expansion of macro ‘fseeko64’
107 | fseeko64(pFile, 0, SEEK_END);
| ^~~~~~~~
ioD.h:10:18: error:‘ftello’ was not declared in this scope; did you mean ‘ftell’?
10 | #define ftello64 ftello
| ^~~~~~
ioD.h:108:18: Note:in expansion of macro ‘ftello64’
108 | long long ans = ftello64(pFile)/sizeof(edge);
| ^~~~~~~~
ioD.h: in function ‘void xSort(char*, long long int&, bool)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:425:5: Note:in expansion of macro ‘fseeko64’
425 | fseeko64(sBuf.inFile, (lastPos+ilen)sizeof(edge), SEEK_SET);
| ^~~~~~~~
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:458:7: Note:in expansion of macro ‘fseeko64’
458 | fseeko64(sBuf.inFile, (lastPos + pilen + posFile[pi]edgePerBuf)sizeof(edge), SEEK_SET);
| ^~~~~~~~
ioD.h: in function‘void inBufL::fseek(long long int)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:568:3: Note:in expansion of macro ‘fseeko64’
568 | fseeko64(inFile, xsizeof(edgeL), SEEK_SET);
| ^~~~~~~~
ioD.h: in function ‘void xSortL(char, long long int&)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:735:5:Note:in expansion of macro ‘fseeko64’
735 | fseeko64(sBuf.inFile, (lastPos+ilen)sizeof(edgeL), SEEK_SET);
| ^~~~~~~~
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:768:7: Note:in expansion of macro ‘fseeko64’
768 | fseeko64(sBuf.inFile, (lastPos + pilen + posFile[pi]*edgePerBuf)sizeof(edgeL), SEEK_SET);
| ^~~~~~~~
ioD.h: in function ‘void inBufS::fseek(long long int)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:864:3:Note:in expansion of macro ‘fseeko64’
864 | fseeko64(inFile, xsizeof(edgeS), SEEK_SET);
| ^~~~~~~~
how can i fix it?
The text was updated successfully, but these errors were encountered:
when run "g++ -O3 -std=c++11 realtimesimulation.cpp Hungarian.cpp" with MinGW, error will be like:
In file included from carpooling.h:2,
from realtime_simulation.cpp:3:
ioD.h: in function ‘long long int checkSize(char*)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:107:2: Note:in expansion of macro ‘fseeko64’
107 | fseeko64(pFile, 0, SEEK_END);
| ^~~~~~~~
ioD.h:10:18: error:‘ftello’ was not declared in this scope; did you mean ‘ftell’?
10 | #define ftello64 ftello
| ^~~~~~
ioD.h:108:18: Note:in expansion of macro ‘ftello64’
108 | long long ans = ftello64(pFile)/sizeof(edge);
| ^~~~~~~~
ioD.h: in function ‘void xSort(char*, long long int&, bool)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:425:5: Note:in expansion of macro ‘fseeko64’
425 | fseeko64(sBuf.inFile, (lastPos+ilen)sizeof(edge), SEEK_SET);
| ^~~~~~~~
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:458:7: Note:in expansion of macro ‘fseeko64’
458 | fseeko64(sBuf.inFile, (lastPos + pilen + posFile[pi]edgePerBuf)sizeof(edge), SEEK_SET);
| ^~~~~~~~
ioD.h: in function‘void inBufL::fseek(long long int)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:568:3: Note:in expansion of macro ‘fseeko64’
568 | fseeko64(inFile, xsizeof(edgeL), SEEK_SET);
| ^~~~~~~~
ioD.h: in function ‘void xSortL(char, long long int&)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:735:5:Note:in expansion of macro ‘fseeko64’
735 | fseeko64(sBuf.inFile, (lastPos+ilen)sizeof(edgeL), SEEK_SET);
| ^~~~~~~~
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:768:7: Note:in expansion of macro ‘fseeko64’
768 | fseeko64(sBuf.inFile, (lastPos + pilen + posFile[pi]*edgePerBuf)sizeof(edgeL), SEEK_SET);
| ^~~~~~~~
ioD.h: in function ‘void inBufS::fseek(long long int)’:
ioD.h:9:18: error:‘fseeko’ was not declared in this scope; did you mean ‘fseek’?
9 | #define fseeko64 fseeko
| ^~~~~~
ioD.h:864:3:Note:in expansion of macro ‘fseeko64’
864 | fseeko64(inFile, xsizeof(edgeS), SEEK_SET);
| ^~~~~~~~
how can i fix it?
The text was updated successfully, but these errors were encountered: