Comment by ~vtorri on ~lattis/muon
clang also supports
-print-search-dirs
Comment by ~vtorri on ~lattis/muon
hello, I know that the test suite is failing. There are some shell scripts used for the tests which should be replaced with meson code instead. that should fix some tests
if you are a windows dev, i would be pleased to have some help:-)
Ticket created by ~vtorri on ~lattis/muon
afaics,
log_quiet
is not used anymore:$ git grep log_quiet include/log.h: log_quiet,
removing it would also "simplify"
log_level_clr
,log_level_name
andlog_level_shortname
in log.c. For example:const char *log_level_clr[log_level_count] = { "31", "33", "0", "36" };
or
const char *log_level_clr[log_level_count] = { "31", "33", "0", "36" };
Comment by ~vtorri on ~lattis/muon
on Windows and on linux
Ticket created by ~vtorri on ~lattis/muon
when building doc, this warning is displayed, even if libcurl is found earlier
Comment by ~vtorri on ~lattis/muon
@illiliti so to find them
- gcc :
gcc -dM -E -
: __i386 or i386 (32 bits), __x86_64 or x86_64 (64 bits) (Windows (boths 32 and 64 bits), solaris 32 bits, linux 64 bits)- clang:
clang -dM -E -
idem, not tested on solaris though- suncc: https://stackoverflow.com/questions/38318425/detect-xarch-option-in-the-preprocessor, so x86_64 or __x86_64
- vc++ or gcc/clang on Windows: _WIN64 for x86_64, _WIN32 for x86_64 and i686.
I've not tried with ARM compiler, i don't have any on Windows right now
Comment by ~vtorri on ~lattis/muon
@~xvilka look at line 316 in compiler.c:
https://git.sr.ht/~lattis/muon/tree/master/item/src/compilers.c#L313
you can try to fix tinycc here with the correct option to pass to tinycc.
Comment by ~vtorri on ~lattis/muon
@lattis according to https://bellard.org/tcc/tcc-doc.html#Option-summary there is
-print-search-dirs
(note the single-
)
Comment by ~vtorri on ~lattis/muon
after some discussion on IRC, a
compat.h
file containing#if !defined(_POSIX_C_SOURCE) && !defined(_WIN32) #define _POSIX_C_SOURCE 200809L #endif #ifndef MUON_FORMAT #ifdef (__GNUC__) #define MUON_FORMAT(_f1, _f2) __attribute__ ((format(printf, _f1, _f2))) #else #define MUON_FORMAT(_f1, _f2) #endif #endif
should be added. I would include it at the top of all source file.