Closed mids33 closed 1 year ago
compiling under cygwin and rdfind 1.5
now editing rdfind.cc and add #include it compile and run .. did it break something doing this ?
This was fixed on the devel branch, see https://github.com/pauldreik/rdfind/commit/61877de88d782b63b17458a61fcc078391499b29
now on the main branch as well.
compiling under cygwin and rdfind 1.5
================================================================ $ make make all-am make[1]: Entering directory '/cygdrive/e/lab/rdfind' g++ -DHAVE_CONFIG_H -I. -g -O2 -MT rdfind.o -MD -MP -MF .deps/rdfind.Tpo -c -o rdfind.o rdfind.cc rdfind.cc: In function ‘Options parseOptions(Parser&)’: rdfind.cc:224:30: error: ‘numeric_limits’ is not a member of ‘std’ 224 | o.maximumfilesize = std::numeric_limits<decltype(o.maximumfilesize)>::max(); | ^
~~~~~ rdfind.cc:224:45: error: expected primary-expression before ‘decltype’ 224 | o.maximumfilesize = std::numeric_limits<decltype(o.maximumfilesize)>::max(); | ^~~~~~~ make[1]: [Makefile:656: rdfind.o] Error 1 make[1]: Leaving directory '/cygdrive/e/lab/rdfind' make: [Makefile:535: all] Error 2now editing rdfind.cc and add #include
it compile and run ..
did it break something doing this ?