Re: cb/pedantic-build-for-developers, POSIX-but-not-C99 and -Wno-pedantic-ms-format
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 22, 2021, 16:15 UTC
- Message-ID
- <xmqqee9g8u3n.fsf@gitster.g>
- In-Reply-To
- <b0eba1c6-5468-df31-db6f-701bcd24adff@web.de>
René Scharfe <l.s.r@web.de> writes:
> The lack of warnings about the use of that extension in po/ means > translated formats are not checked by the compiler at all, right? > According to the gettext documentation [2] msgfmt takes care of that > when building the translation files, though.
It is not even seen by the compiler at compilation time, right? _() at runtime is merely a function call to map its parameter string to another string using what is in .mo (compiled from po/).