Omari Stephens

Results 60 comments of Omari Stephens

I'm on Debian and have not yet figured out how to repro this issue. 1) ``` $g++ --version g++ (Debian 12.2.0-14) 12.2.0 Copyright (C) 2022 Free Software Foundation, Inc. This...

Okay, still digging, but I _suspect_ that this is a compilation issue, and not a linking issue. That said, I still have no way to repro the issue, so I'll...

And more broadly, I'm hesitant to "fix" this with explicit `extern "C"`, because we should reasonably be seeing identical behavior between the lua libraries and other C libraries like freetype2,...

Okay, so lua is definitely an extremely special case, and it has distro-specific behaviors \*sigh\* From the Lua website, "Lua is implemented in pure ANSI C and compiles unmodified in...

Adding to the confusion, the lua source package includes a file, `lua.hpp`, with these contents: ``` // lua.hpp // Lua header files for C++ // not supplied automatically because Lua...

@alerque Could you include a diff that shows the code change you made, as well as the output of the object file `strings` command from above when compiled with that...

@neheb Don't forget that RAII is only valid when you can guarantee that objects will have their constructors and destructors called. In C++, this will always happen automatically for objects...

Just to add a concrete citation, `g_new` in glib is hard-coded to use `malloc`: https://github.com/GNOME/glib/blob/0990106501f535c5d7760c6718d1980bd0e1af00/glib/gmem.h#L315 And more generally, glib is a C library and not a C++ library, so it...

That sounds good. I'm thinking about using these as the new actions. Let me know if I should change them, or if there's anything missing: - `--get-selection` (returns currently-selected images...

@caclark @qarkai I'm curious what y'all think of this approach.