Re: commit signing

2022-09-28 Thread Ulrich Drepper via Gcc
On Wed, Sep 14, 2022 at 2:07 PM Ulrich Drepper wrote: > On Wed, Sep 14, 2022 at 1:31 PM Richard Biener > wrote: > >> How does this improve supply chain security if the signing happens >> automagically rather than manually at points somebody actually >> did extra verification? > > > It works only

Re: commit signing

2022-09-14 Thread Ulrich Drepper via Gcc
On Wed, Sep 14, 2022 at 1:31 PM Richard Biener wrote: > How does this improve supply chain security if the signing happens > automagically rather than manually at points somebody actually > did extra verification? It works only automatically if you have ssh-agent (and/or gpg-agent) running. I

commit signing

2022-09-14 Thread Ulrich Drepper via Gcc
For my own projects I started /automatically/ signing all the git commits. This is so far not that important for my private projects but it is actually important for projects like gcc. It adds another layer of security to the supply chain security. My shell prompt (as many other people's as well)

Re: [RFC] database with API information

2022-09-09 Thread Ulrich Drepper via Gcc
On Fri, Sep 9, 2022 at 5:26 PM Iain Sandoe wrote: > One small request, I realise that Python 2 is dead, but I regularly > bootstrap GCC > on older machines that only have Python 2 installations. If possible (and > it sounds > plausible if the job is really quite simple) - it would be good to sup

[RFC] database with API information

2022-09-06 Thread Ulrich Drepper via Gcc
I talked to Jonathan the other day about adding all the C++ library APIs to the name hint file now that the size of the table is not really a concern anymore. Jonathan mentioned that he has to create and maintain a similar file for the module support. It needs to list all the exported interfaces

Re: -Wformat and u8""

2022-05-09 Thread Ulrich Drepper via Gcc
On Mon, May 9, 2022 at 11:26 AM Florian Weimer wrote: > On the other hand, that cast is still quite ugly. Yes, there aren't yet any I/O functions defined for char8_t and therefore that's the best we can do right now. I have all kinds of ugly macros to high these casts. > All string-related >

-Wformat and u8""

2022-05-09 Thread Ulrich Drepper via Gcc
I have a C++20+ code base which forces the program to run using an UTF-8 locale and then uses u8"" strings internally. This causes warnings with -Wformat. #include int main() { printf((const char*) u8"test %d\n", 1); return 0; } Compile with g++ -std=gnu++20 -c -O -Wall t.cc and you'll

desired behavior or missing warning?

2020-09-17 Thread Ulrich Drepper via Gcc
I found myself with code similar to this: struct base { virtual void cb() = 0; }; struct deriv final : public base { void cb() final override { } }; The question is about the second use of 'final'. Because the entire class is declared final, should the individual function's annotation be f