Rui Ueyama

Results 604 comments of Rui Ueyama

It is also nice to know that I can write good code even in C++ :) I wrote a fair amount of C++11 code for that, and I kind of...

That's right. is_funcdef returns a wrong result for the input. Maybe we should stop making a guess before calling the parser but instead call the parser directly, because making a...

This compiler has no serious test sets except the ones in test directory and the compiler itself. When I write new code for the compiler I sometimes found a miscompilation....

This is no longer an active project and replaced by https://github.com/rui314/chibicc. So please try to build that project instead of this one.

I agree with @andrewchambers. This patch is not actually bad, but the spirit of this interpreter is (extreme) minimalism, so we don't want to have #ifdefs in the code.

What program are you trying to build? And what distro? I want to reproduce the issue on my machine.

GNU unique symbols have a weird semantics, and it's no longer used actively. So it's odd that Ubuntu 22.04 distributes an object file containing GNU unique symbols. That object file...

> > Could you investigate a bit more about how this package was built and report the problem to Ubuntu? > > I looked at the same file on Arch...

The `HIDDEN` visibility doesn't (and IIUC shouldn't) affect how symbol conflicts are resolved in this case, so I don't think it prevented a symbol duplicate error for these symbols.