Deutsch   English   Français   Italiano  
<20241212000300.00001c20@yahoo.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: question about linker
Date: Thu, 12 Dec 2024 00:03:00 +0200
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <20241212000300.00001c20@yahoo.com>
References: <vi54e9$3ie0o$1@dont-email.me>
	<viasv4$nm7q$2@dont-email.me>
	<vibr1l$vvjf$1@dont-email.me>
	<vic73f$1205f$1@dont-email.me>
	<20241129142810.00007920@yahoo.com>
	<vicfra$13nl4$1@dont-email.me>
	<20241129161517.000010b8@yahoo.com>
	<vicque$15ium$2@dont-email.me>
	<vid110$16hte$1@dont-email.me>
	<vifcll$1q9rj$1@dont-email.me>
	<vifiib$1s07p$1@dont-email.me>
	<87ldwx10gv.fsf@bsb.me.uk>
	<vimtt4$27vv$1@dont-email.me>
	<86ser1kgp5.fsf@linuxsc.com>
	<vit69t$1qfgg$1@dont-email.me>
	<87ldwtzlc0.fsf@nosuchdomain.example.com>
	<vitjgg$1tukq$2@dont-email.me>
	<vj1bss$325uo$1@dont-email.me>
	<vj1h4i$335q1$2@dont-email.me>
	<vj1mhi$34p7h$1@dont-email.me>
	<vj1prj$35je4$1@dont-email.me>
	<vj7dup$he7i$1@dont-email.me>
	<slrnvlik4j.ns4.ike@iceland.freeshell.org>
	<vjcens$1kcos$1@dont-email.me>
	<vjcfnc$1kfcq$1@dont-email.me>
	<vjcftu$1kk6l$1@dont-email.me>
	<vjchk5$1kmm9$1@dont-email.me>
	<vjctmp$1n22j$3@dont-email.me>
	<vjcvlq$1n3n1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 11 Dec 2024 23:03:09 +0100 (CET)
Injection-Info: dont-email.me; posting-host="b505f3f9ff6cd0677c802ebcc44af224";
	logging-data="1833078"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+wWo5bv3ZrQDaUIsmIYSTfTjSOTicPrKU="
Cancel-Lock: sha1:xIAycWLggM9q/cMn7ID5k0WvAbs=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
Bytes: 2379

On Wed, 11 Dec 2024 21:19:54 +0000
bart <bc@freeuk.com> wrote:

> 
> This also comes up with 'while (cond); {...}'.
> 

$ cat foo.c
void foo(int x)
{
  while (x--);
    bar();
}

$ clang-format < foo.c
void foo(int x) {
  while (x--)
    ;
  bar();
}

Do I use clamg-format myself? No, I don't.

And I don't know why C formatters are generally less popular among C
programmers then, for example, go formater among Go programmers or Rust
formatter among Rust programmers.