Re: [Development] Houston, qint128 has a problem

2024-07-09 Thread Karl Semich
Comment from peanut gallery, > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40856 > This code should produce the same results with -std=g++11 and -std=c++11 > I will not object to patches tweaking the condition and positively reviewed > by fellow maintainers. It sounds like the GCC maintainers

Re: [Development] Could support for C be added to Qt?

2022-09-10 Thread Karl Semich
On Sat, Sep 10, 2022 at 2:14 PM samuel ammonius wrote: > > > First, your own example of not having compile-time checking of the means > > that > > those programmers are accepting less security for the sake of staying in the > > same language. > > How? It's just the equivalent of static_cast(), an

Re: [Development] Could support for C be added to Qt?

2022-09-10 Thread Karl Semich
> its apps and users. Many of these programs are built on top of years of C > code, > so I don't think it would be easy for the developers of those programs to > switch > from C to C++ even if they wanted to. Allan’s proposal to keep the code C but ensure it builds with a C++ compiler likely had p

Re: [Development] Could support for C be added to Qt?

2022-09-09 Thread Karl Semich
>> There's a couple things I still haven't figured out though, like >> constructors/destructors and templates. Are there solutions to these that In C, constructors/destructors usually become alloc/free functions. C has macros and code generation but these aren’t directly analogous to templates. I

[Development] Partially Cloning Qt Repositories with Git Filtering

2022-06-25 Thread Karl Semich
Hi Qt, The Qt git repositories can at times seem large. Git has support now for "filtering" or "partial clone". Some hits from a websearch: - https://docs.gitlab.com/ee/topics/git/partial_clone.html - https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/ This feat