~vtorri


#131 Segmentation fault on s390x a month ago

Comment by ~vtorri on ~lattis/muon

maybe using valgrind gives another output that could help ?

#131 Segmentation fault on s390x 2 months ago

Comment by ~vtorri on ~lattis/muon

the latest code has fixes for big-endian arch. Try to pull and check again, please

#128 meson use CC_LD and CXX_LD as env var for linker 2 months ago

Ticket created by ~vtorri on ~lattis/muon

LD is not used anymore by meson. It's now CC_LD and CXX_LD.

#127 host_machine is always build_machine 3 months ago

Ticket created by ~vtorri on ~lattis/muon

in machines.c, host_machine and build_machine are the same. So for example, on my Windows 10 64 bits, even if i run the 32 bits Visual Studio prompt (where cl.exe is the 32 bits one), host_machine.address_bits is 64

#123 include <string.h> in include/lang/string.h 4 months ago

Ticket created by ~vtorri on ~lattis/muon

strlen() is declared in string.h :

../include/lang/string.h:18:38: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]

this would avoid including <string.h> in files including include/lang/string.h

#122 update doc/contributing.md 4 months ago

Ticket created by ~vtorri on ~lattis/muon

since the latest big change in code, this document is out of date

#121 useless test in compilers.c 4 months ago

Ticket created by ~vtorri on ~lattis/muon

in compilers.c, guess_version() returns a char* which is always defined, so the test line 249 is useless

#119 standard passed to cl.exe : on c11 or c17 like meson ? 4 months ago

Ticket created by ~vtorri on ~lattis/muon

currently, I pass the standard to /std: whatever the standard is. Meson is passing it only if it is c11 or c17 (see https://github.com/mesonbuild/meson/blob/master/mesonbuild/compilers/c.py#L477). Should I do the same for muon ?

#115 muon bootstrap with cl.exe: warnings 5 months ago

Ticket created by ~vtorri on ~lattis/muon

here are the warnings that I get with cl.exe when using bootstrap.bat

C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github>bootstrap.bat build
amalgam.c
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\backend/common_args.c(441): warning C4113: 'iteration_result (__cdecl *)(workspace *,void *,compiler_language,obj)' est différent de 'obj_dict_iterator' dans les listes de paramètres
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\backend/ninja/rules.c(191): warning C4113: 'iteration_result (__cdecl *)(workspace *,void *,compiler_language,obj)' est différent de 'obj_dict_iterator' dans les listes de paramètres
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\backend/ninja/rules.c(274): warning C4113: 'iteration_result (__cdecl *)(workspace *,void *,compiler_language,uint32_t)' est différent de 'obj_dict_iterator' dans les listes de paramètres
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\backend/ninja/rules.c(393): warning C4113: 'iteration_result (__cdecl *)(workspace *,void *,compiler_language,obj)' est différent de 'obj_dict_iterator' dans les listes de paramètres
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\backend/ninja/rules.c(397): warning C4113: 'iteration_result (__cdecl *)(workspace *,void *,compiler_language,obj)' est différent de 'obj_dict_iterator' dans les listes de paramètres
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\lang/lexer.c(245): warning C4133: 'fonction' : types incompatibles - de 'token_type *' à 'uint32_t *'
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\lang/lexer.c(257): warning C4133: 'fonction' : types incompatibles - de 'token_type *' à 'uint32_t *'
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\machine_file.c(65): warning C4133: 'fonction' : types incompatibles - de 'machine_file_section *' à 'uint32_t *'
C:\Documents\msys2\home\vincent.torri\gitroot_64\muon_github\src\wrap.c(173): warning C4133: 'fonction' : types incompatibles - de 'wrap_type *' à 'uint32_t *'
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_io.h(509): warning C4142: 'lseek' : redéfinition bénigne du type

#114 muon analyze throws errors with some functions of python module 6 months ago

Comment by ~vtorri on ~lattis/muon

oups, analyze of course