Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dirwalker - Simplistic and Ergonomic Directory Browser
#19
Your "dirwalker" throws up this compilation error:

Code: (Select All)
internal\c\c_compiler\bin\c++.exe  -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -Iinternal\c/parts/core/src/ -Iinternal\c/parts/core/glew/include/ -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE -DDEPENDENCY_LOADFONT -DDEPENDENCY_AUDIO_MINIAUDIO internal\c/qbx.cpp -c -o internal\c/qbx.o
internal\c\c_compiler\bin\windres.exe -i internal\temp\icon.rc -o internal\temp\icon.o
internal\c\c_compiler\bin\ar.exe rcs internal\c/parts/video/font/ttf/src.a internal\c/parts/video/font/ttf/src/freetypeamalgam.o
In file included from internal\c/../temp/regsf.txt:10,
                from internal\c/qbx.cpp:1164:
C:/qb64pe/Dirwalker_r7+/dirfile.h: In function 'int MINGW_readdir(char*, long long int*, int*, char*, char*, char*)':
C:/qb64pe/Dirwalker_r7+/dirfile.h:42:41: error: cannot convert '__time64_t*' {aka 'long long int*'} to 'const time_t*' {aka 'const long int*'}
  42 |      memcpy(LastFileModification, ctime(&statbuf_64.st_mtime), 24); // BUGFIX since r5++++, in fact this is the CULPRIT.]<--+ !!! However with -O3, QB64 blocks right after invoking this function ???
      |                                        ^~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        __time64_t* {aka long long int*}
In file included from internal\c/common.h:69,
                from internal\c/qbx.cpp:1:
C:/qb64pe/internal/c/c_compiler/i686-w64-mingw32/include/time.h:251:53: note:  initializing argument 1 of 'char* ctime(const time_t*)'
  251 | static __inline char *__CRTDECL ctime(const time_t *_Time) { return _ctime32(_Time); }
      |                                      ~~~~~~~~~~~~~~^~~~~
C:/qb64pe/Dirwalker_r7+/dirfile.h: In function 'void MINGW_OpenReadCloseDIR(char*, long long int*, char*, long long int*, long long int*)':
C:/qb64pe/Dirwalker_r7+/dirfile.h:75:28: error: cannot convert '__time64_t*' {aka 'long long int*'} to 'const time_t*' {aka 'const long int*'}
  75 |    memcpy(path+1+8, ctime(&statbuf_64.st_mtime), 24);
      |                            ^~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            __time64_t* {aka long long int*}
C:/qb64pe/internal/c/c_compiler/i686-w64-mingw32/include/time.h:251:53: note:  initializing argument 1 of 'char* ctime(const time_t*)'
  251 | static __inline char *__CRTDECL ctime(const time_t *_Time) { return _ctime32(_Time); }
      |                                      ~~~~~~~~~~~~~~^~~~~
In file included from internal\c/../temp/regsf.txt:30:
C:/qb64pe/Dirwalker_r7+/treedump.h: In function 'void treedumpPOOL(char*, int, int, long long int*, char*, long long int*, long long int*)':
C:/qb64pe/Dirwalker_r7+/treedump.h:422:50: error: cannot convert '__time64_t*' {aka 'long long int*'} to 'const time_t*' {aka 'const long int*'}
  422 |              memcpy(LastFileModification, ctime(&statbuf_64.st_mtime), 24);
      |                                                  ^~~~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  __time64_t* {aka long long int*}
C:/qb64pe/internal/c/c_compiler/i686-w64-mingw32/include/time.h:251:53: note:  initializing argument 1 of 'char* ctime(const time_t*)'
  251 | static __inline char *__CRTDECL ctime(const time_t *_Time) { return _ctime32(_Time); }
      |                                      ~~~~~~~~~~~~~~^~~~~
mingw32-make: *** [Makefile:417: internal\c/qbx.o] Error 1

This was taken from:

C:\qb64pe\internal\temp\compilelog.txt
Reply


Messages In This Thread
RE: Dirwalker - Simplistic and Ergonomic Directory Browser - by eoredson - 01-14-2023, 04:18 AM



Users browsing this thread: 1 Guest(s)