| 9 | | |
| 10 | | gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -c -Os -DC_BUILDING_LIBCHICKEN posixwin.c -o posixwin-static.o -I. -I./ |
| 11 | | In file included from posixwin.c:9: |
| 12 | | posixwin.c: In function 'f_4799': |
| 13 | | posixwin.c:185:57: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] |
| 14 | | 185 | #define C_u_i_execve(f,a,e) C_fix(execve(C_c_string(f), (const char *const *)C_c_pointer_ve, (const char *const *)C_c_pointer_vector_or_null(e))) |
| 15 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 16 | | | | |
| 17 | | | const char * const* |
| 18 | | chicken.h:1046:56: note: in definition of macro 'C_fix' |
| 19 | | 1046 | #define C_fix(n) ((C_word)((C_uword)(n) << C_FIXNUM_SHIFT) | C_FIXNUM_BIT) |
| 20 | | | ^ |
| 21 | | posixwin.c:9646:17: note: in expansion of macro 'C_u_i_execve' |
| 22 | | 9646 | t6=(C_truep(t4)?C_u_i_execve(t2,t3,t4):C_u_i_execvp(t2,t3)); |
| 23 | | | ^~~~~~~~~~~~ |
| 24 | | In file included from C:/msys64/ucrt64/include/unistd.h:11, |
| 25 | | from chicken.h:134: |
| 26 | | C:/msys64/ucrt64/include/process.h:187:64: note: expected 'char * const*' but argument is of type 'const char * const*' |
| 27 | | 187 | _CRTIMP int __cdecl execve(const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 28 | | | ~~~~~~~~~~~~^~~~~~~~~~ |
| 29 | | posixwin.c:185:109: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] |
| 30 | | 185 | #define C_u_i_execve(f,a,e) C_fix(execve(C_c_string(f), (const char *const *)C_c_pointer_vector_or_null(a), (const char *const *)C_c_pointer_vector_or_null(e))) |
| 31 | | | |
| 32 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 33 | | | |
| 34 | | | |
| 35 | | | |
| 36 | | const char * const* |
| 37 | | chicken.h:1046:56: note: in definition of macro 'C_fix' |
| 38 | | 1046 | #define C_fix(n) ((C_word)((C_uword)(n) << C_FIXNUM_SHIFT) | C_FIXNUM_BIT) |
| 39 | | | ^ |
| 40 | | posixwin.c:9646:17: note: in expansion of macro 'C_u_i_execve' |
| 41 | | 9646 | t6=(C_truep(t4)?C_u_i_execve(t2,t3,t4):C_u_i_execvp(t2,t3)); |
| 42 | | | ^~~~~~~~~~~~ |
| 43 | | C:/msys64/ucrt64/include/process.h:187:87: note: expected 'char * const*' but argument is of type 'const char * const*' |
| 44 | | 187 | _CRTIMP int __cdecl execve(const char *_Filename,char *const _ArgList[],char *const _Env[) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 45 | | | ~~~~~~~~~~~~^~~~~ |
| 46 | | posixwin.c:184:57: error: passing argument 2 of 'execvp' from incompatible pointer type [-Wincompatible-pointer-types] |
| 47 | | 184 | #define C_u_i_execvp(f,a) C_fix(execvp(C_c_string(f), (const char *const *)C_c_pointer_ve)) |
| 48 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 49 | | | | |
| 50 | | | const char * const* |
| 51 | | chicken.h:1046:56: note: in definition of macro 'C_fix' |
| 52 | | 1046 | #define C_fix(n) ((C_word)((C_uword)(n) << C_FIXNUM_SHIFT) | C_FIXNUM_BIT) |
| 53 | | | ^ |
| 54 | | posixwin.c:9646:40: note: in expansion of macro 'C_u_i_execvp' |
| 55 | | 9646 | t6=(C_truep(t4)?C_u_i_execve(t2,t3,t4):C_u_i_execvp(t2,t3)); |
| 56 | | | ^~~~~~~~~~~~ |
| 57 | | C:/msys64/ucrt64/include/process.h:188:64: note: expected 'char * const*' but argument is of type 'const char * const*' |
| 58 | | 188 | _CRTIMP int __cdecl execvp(const char *_Filename,char *const _ArgList[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 59 | | | ~~~~~~~~~~~~^~~~~~~~~~ |
| 60 | | posixwin.c: In function 'f_4882': |
| 61 | | posixwin.c:189:75: error: passing argument 3 of 'spawnvpe' from incompatible pointer type [-Wincompatible-pointer-types] |
| 62 | | 189 | #define C_u_i_spawnvpe(m,f,a,e) C_fix(spawnvpe(C_unfix(m), C_c_string(f), (const char *cons, (const char *const *)C_c_pointer_vector_or_null(e))) |
| 63 | | | ^~~~~~~~~~~~~~~~~ |
| 64 | | | | |
| 65 | | | const char * const* |
| 66 | | chicken.h:1046:56: note: in definition of macro 'C_fix' |
| 67 | | 1046 | #define C_fix(n) ((C_word)((C_uword)(n) << C_FIXNUM_SHIFT) | C_FIXNUM_BIT) |
| 68 | | | ^ |
| 69 | | posixwin.c:9768:17: note: in expansion of macro 'C_u_i_spawnvpe' |
| 70 | | 9768 | t6=(C_truep(t4)?C_u_i_spawnvpe(((C_word*)t0)[2],t2,t3,t4):C_u_i_spawnvp(((C_word*)t0)[2],t2,t3)); |
| 71 | | | ^~~~~~~~~~~~~~ |
| 72 | | C:/msys64/ucrt64/include/process.h:199:75: note: expected 'char * const*' but argument is of type 'const char * const*' |
| 73 | | 199 | _CRTIMP intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 74 | | | ~~~~~~~~~~~~^~~~~~~~~~ |
| 75 | | posixwin.c:189:127: error: passing argument 4 of 'spawnvpe' from incompatible pointer type [-Wincompatible-pointer-types] |
| 76 | | 189 | #define C_u_i_spawnvpe(m,f,a,e) C_fix(spawnvpe(C_unfix(m), C_c_string(f), (const char *const *)C_c_pointer_vector_or_null(a), (const char *const *)C_c_pointer_vector_or_null(e))) |
| 77 | | | |
| 78 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 79 | | | |
| 80 | | | |
| 81 | | | |
| 82 | | const char * const* |
| 83 | | chicken.h:1046:56: note: in definition of macro 'C_fix' |
| 84 | | 1046 | #define C_fix(n) ((C_word)((C_uword)(n) << C_FIXNUM_SHIFT) | C_FIXNUM_BIT) |
| 85 | | | ^ |
| 86 | | posixwin.c:9768:17: note: in expansion of macro 'C_u_i_spawnvpe' |
| 87 | | 9768 | t6=(C_truep(t4)?C_u_i_spawnvpe(((C_word*)t0)[2],t2,t3,t4):C_u_i_spawnvp(((C_word*)t0)[2],t2,t3)); |
| 88 | | | ^~~~~~~~~~~~~~ |
| 89 | | C:/msys64/ucrt64/include/process.h:199:98: note: expected 'char * const*' but argument is of type 'const char * const*' |
| 90 | | 199 | _CRTIMP intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 91 | | | ~~~~~~ |
| 92 | | posixwin.c:188:74: error: passing argument 3 of 'spawnvp' from incompatible pointer type [-Wincompatible-pointer-types] |
| 93 | | 188 | #define C_u_i_spawnvp(m,f,a) C_fix(spawnvp(C_unfix(m), C_c_string(f), (const char *const)) |
| 94 | | | ^~~~~~~~~~~~~~~~~~ |
| 95 | | | | |
| 96 | | | const char * const |
| 97 | | chicken.h:1046:56: note: in definition of macro 'C_fix' |
| 98 | | 1046 | #define C_fix(n) ((C_word)((C_uword)(n) << C_FIXNUM_SHIFT) | C_FIXNUM_BIT) |
| 99 | | | ^ |
| 100 | | posixwin.c:9768:59: note: in expansion of macro 'C_u_i_spawnvp' |
| 101 | | 9768 | t6=(C_truep(t4)?C_u_i_spawnvpe(((C_word*)t0)[2],t2,t3,t4):C_u_i_spawnvp(((C_word*)t0)[2],t2,t3)); |
| 102 | | | ^~~~~~~~~~~~~ |
| 103 | | C:/msys64/ucrt64/include/process.h:198:74: note: expected 'char * const*' but argument is of type 'const char * const*' |
| 104 | | 198 | _CRTIMP intptr_t __cdecl spawnvp(int,const char *_Filename,char *const _ArgList[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 105 | | |