We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been trying to install sartools on cygwin. I entered into the file and typed "make". Here is what popped up after it makes:
$ make g++ -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o dateconv.o dateconv.cc dateconv.cc: In function ‘int main(int, char**)’: dateconv.cc:51:35: error: cannot convert ‘tm*’ to ‘const char*’ 51 | strftime(indatestring,informat,&tm_tmp); | ^~~~~~~ | | | tm In file included from /usr/include/pthread.h:14, from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/x86_64-pc-cygwin/bits/gthr-default.h:35, from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/x86_64-pc-cygwin/bits/gthr.h:148, from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ext/atomicity.h:35, from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/ios_base.h:39, from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ios:42, from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ostream:38, from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/iostream:39, from dateconv.cc:9: /usr/include/time.h:67:49: note: initializing argument 3 of ‘size_t strftime(char*, size_t, const char*, const tm*)’ 67 | size_t _maxsize, const char *__restrict _fmt, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ make: *** [Makefile:161: dateconv.o] Error 1
Hope you can help me out.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've been trying to install sartools on cygwin. I entered into the file and typed "make". Here is what popped up after it makes:
$ make
g++ -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o dateconv.o dateconv.cc
dateconv.cc: In function ‘int main(int, char**)’:
dateconv.cc:51:35: error: cannot convert ‘tm*’ to ‘const char*’
51 | strftime(indatestring,informat,&tm_tmp);
| ^~~~~~~
| |
| tm
In file included from /usr/include/pthread.h:14,
from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/x86_64-pc-cygwin/bits/gthr-default.h:35,
from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/x86_64-pc-cygwin/bits/gthr.h:148,
from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ext/atomicity.h:35,
from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/ios_base.h:39,
from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ios:42,
from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ostream:38,
from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/iostream:39,
from dateconv.cc:9:
/usr/include/time.h:67:49: note: initializing argument 3 of ‘size_t strftime(char*, size_t, const char*, const tm*)’
67 | size_t _maxsize, const char *__restrict _fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
make: *** [Makefile:161: dateconv.o] Error 1
Hope you can help me out.
The text was updated successfully, but these errors were encountered: