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]
pupp has joined #zig
_whitelogger has joined #zig
pupp has quit [Ping timeout: 248 seconds]
pupp has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 246 seconds]
hasen_judy has joined #zig
<pupp> made gdb pretty printer for zig source code, http://forums.codeblocks.org/index.php/topic,22216.0.html
<pupp> just for looking at Buf strings
<tiehuis> cool, looks like it'd help a lot!
<tiehuis> should be easy to extend to ArrayList's and similar yeah?
<pupp> dunno about easy, but should be possible
<tiehuis> i'll try this out when i need to debug something and see how it fares
<pupp> zig_llvm.cpp/bool ZigLLDLink, need to figure out how to see lld arguments here
<pupp> I printed them one by one last time
<tiehuis> is this during the cmake build?
<tiehuis> because if so you can check 'build/CmakeFiles/zig.dir/link.txt' for the linker command used to compile the compiler
<tiehuis> if that is what you are interested in looking at
<tiehuis> oh sorry, this is when compiling zig source code
<tiehuis> right?
<pupp> I'm interested in how zig compiles .zig programs
<pupp> it uses lld internally
<tiehuis> have you tried '--verbose-link'?
<pupp> ZigLLDLink is where zig talks with lld
<tiehuis> outputs the lld command used
<pupp> yes, zig crashed
<pupp> actually, I did "--verbose --verbose-link --verbose-ir"
<pupp> need to try just --verbose-link now
<tiehuis> i don't expect this would crash by itself seeing what it does in the source
<pupp> it compiles more than it should, for some reason
<pupp> with all those verbose flags, it somehow compiles more
<pupp> than without them
<tiehuis> that, is odd, although i haven't really done anything on windows so am unaware of particular places and hiccups about
<pupp> I'm using rare version of everything, there are all sorts of wonder happening.
hasen_judy has quit [Remote host closed the connection]
puppp has joined #zig
pupp has quit [Ping timeout: 240 seconds]
hasen_judy has joined #zig
tiehuis has quit [Quit: WeeChat 1.9.1]
hasen_judy has quit [Remote host closed the connection]
arBmind has joined #zig
hasen_judy has joined #zig
dimenus has quit [Ping timeout: 260 seconds]
hasen_judy has quit [Remote host closed the connection]
dimenus has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
hoppetosse has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 246 seconds]
Dave__ has joined #zig
Dave__ has quit [Client Quit]
puppp has quit [Quit: puppp]
ryan_ has joined #zig
dimenus has quit [Ping timeout: 252 seconds]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 246 seconds]
ryan_ has quit [Read error: Connection reset by peer]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 246 seconds]
hasen_judy has joined #zig
hasen_judy has quit [Remote host closed the connection]
hoppetosse has quit [Ping timeout: 248 seconds]
hasen_judy has joined #zig