ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
<andrewrk>
dimenus: nice work! Now static linking works with and without libc on Windows (with your improvements)
<andrewrk>
dimenus: try this:
<andrewrk>
zig parsec --verbose-cimport foo.c
<andrewrk>
Where foo.c has macros or whatever you want to test
<andrewrk>
I think for macros we don't emit warnings when we can't translate one. You would have to use a debugger on zig to find out why
<andrewrk>
I should write some docs about the kinds of c macros we can translate
tiehuis has joined #zig
<tiehuis>
andrewrk: the question was mainly because so far I've seen '*' only used to dereference and '&' used to denote pointers (as in function arguments).
<tiehuis>
it seemed like a slight inconsistency with what I initially expected compared to other parts of the language
arBmind1 has joined #zig
arBmind has quit [Ping timeout: 248 seconds]
arBmind has joined #zig
arBmind1 has quit [Ping timeout: 240 seconds]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
arBmind has quit [Quit: Leaving.]
hasen_judy has joined #zig
hasen_judy has quit [Remote host closed the connection]
dimenus has quit [Quit: Leaving]
dimenus has joined #zig
<dimenus>
andrewe
<dimenus>
andrewrk: thanks, I'll check that out.
<dimenus>
one more question, does it make sense to coalesce lib search paths similar to gcc/clang? meaning it's not separate flag for an individual libc lib
hasen_judy has joined #zig
hasen_judy has quit [Client Quit]
hasen_judy has joined #zig
_whitelogger has joined #zig
_whitelogger has joined #zig
hasen_judy has quit [Remote host closed the connection]