Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"When in doubt, print 'em out." -- Karl's Programming Proverb 0x7


devel / comp.lang.c / Re: What is wrong with this?

SubjectAuthor
* What is wrong with this?Jack Lemmon
+* Re: What is wrong with this?Scott Lurndal
|`* Re: What is wrong with this?Bonita Montero
| `* Re: What is wrong with this?Guillaume
|  `* Re: What is wrong with this?fir
|   `- Re: What is wrong with this?Öö Tiib
+- Re: What is wrong with this?Lew Pitcher
+- Re: What is wrong with this?David Brown
+- Re: What is wrong with this?Kenny McCormack
+* Re: What is wrong with this?Andrey Tarasevich
|+* Re: What is wrong with this?David Brown
||`* Re: What is wrong with this?Malcolm McLean
|| `* Re: What is wrong with this?David Brown
||  `* Re: What is wrong with this?Malcolm McLean
||   `* Re: What is wrong with this?David Brown
||    `- Re: What is wrong with this?Malcolm McLean
|+* Re: What is wrong with this?Scott Lurndal
||+* Re: What is wrong with this?Malcolm McLean
|||+* Re: What is wrong with this?Manfred
||||`* Re: What is wrong with this?Malcolm McLean
|||| `* Re: What is wrong with this?Manfred
||||  `- Re: What is wrong with this?Kenny McCormack
|||`* Re: What is wrong with this?Andrey Tarasevich
||| `* Re: What is wrong with this?Keith Thompson
|||  `* Re: What is wrong with this?Kenny McCormack
|||   `- Re: What is wrong with this?David Brown
||`* Re: What is wrong with this?Andrey Tarasevich
|| +- Re: What is wrong with this?Manfred
|| +* Re: What is wrong with this?James Kuyper
|| |`* Re: What is wrong with this?Andrey Tarasevich
|| | +- Re: What is wrong with this?Keith Thompson
|| | +* Re: What is wrong with this?David Brown
|| | |+* Re: What is wrong with this?Andrey Tarasevich
|| | ||+* Re: What is wrong with this?fir
|| | |||`- Re: What is wrong with this?fir
|| | ||+- Re: What is wrong with this?Manfred
|| | ||`* Re: What is wrong with this?Öö Tiib
|| | || +- Re: What is wrong with this?Malcolm McLean
|| | || `* Re: What is wrong with this?Andrey Tarasevich
|| | ||  `* Re: What is wrong with this?Öö Tiib
|| | ||   `- Re: What is wrong with this?Manfred
|| | |`* Re: What is wrong with this?bart c
|| | | `- Re: What is wrong with this?David Brown
|| | +* Re: What is wrong with this?James Kuyper
|| | |`* Re: What is wrong with this?Malcolm McLean
|| | | +* Re: What is wrong with this?David Brown
|| | | |`* Re: What is wrong with this?Malcolm McLean
|| | | | `* Re: What is wrong with this?David Brown
|| | | |  `* Re: What is wrong with this?Malcolm McLean
|| | | |   `- Re: What is wrong with this?Thiago Adams
|| | | `* Re: What is wrong with this?Stef
|| | |  `- Re: What is wrong with this?James Kuyper
|| | `- Re: What is wrong with this?Malcolm McLean
|| `* Re: What is wrong with this?antispam
||  `- Re: What is wrong with this?James Kuyper
|`* Re: What is wrong with this?James Kuyper
| `- Re: What is wrong with this?Malcolm McLean
+* Re: What is wrong with this?Sams Lara
|`- Re: What is wrong with this?Thiago Adams
+- Re: What is wrong with this?bart c
`- Re: What is wrong with this?Paul

Pages:123
Re: What is wrong with this?

<d6123cf3-c24f-4913-86f8-4aa30b37ea33n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21339&group=comp.lang.c#21339

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:24c6:b0:69e:e777:4322 with SMTP id m6-20020a05620a24c600b0069ee7774322mr1774637qkn.689.1650486221076;
Wed, 20 Apr 2022 13:23:41 -0700 (PDT)
X-Received: by 2002:a05:620a:20c2:b0:69e:6ef0:7aaf with SMTP id
f2-20020a05620a20c200b0069e6ef07aafmr13813403qka.187.1650486220958; Wed, 20
Apr 2022 13:23:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 20 Apr 2022 13:23:40 -0700 (PDT)
In-Reply-To: <b073138a-632d-44a6-9991-759ef6851bc0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:bc3d:4945:9731:f67b;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:bc3d:4945:9731:f67b
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <t3kvua$5p1$1@dont-email.me>
<Hmz7K.73578$e%.2483@fx36.iad> <t3mrd6$meq$1@dont-email.me>
<t3mut7$h1o$1@dont-email.me> <t3n25n$bm6$1@dont-email.me> <t3n8na$tnv$1@dont-email.me>
<t3ni9j$t7n$1@dont-email.me> <b073138a-632d-44a6-9991-759ef6851bc0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d6123cf3-c24f-4913-86f8-4aa30b37ea33n@googlegroups.com>
Subject: Re: What is wrong with this?
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Wed, 20 Apr 2022 20:23:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 31
 by: Malcolm McLean - Wed, 20 Apr 2022 20:23 UTC

On Wednesday, 20 April 2022 at 20:31:30 UTC+1, Öö Tiib wrote:
> On Wednesday, 20 April 2022 at 02:57:52 UTC+3, Andrey Tarasevich wrote:
> >
> > How does this crap manage to entrench itself in these heads? Were is it
> > really coming from? I'm at a loss.
> People just remember that it was crappy, have tons of other things to do
> and so find no motivation to download that visual studio and try it. The
> old windows laptop I'm typing it right now has only mingw compilers
> installed. I feel zero motivation to install visual studio to it. As for why?
> Even if I download some open source code here to see ... it more likely
> compiles with mingw than with vs.
>
I don't have a choice. Windows is one of the operating systems that our customers
use. Even though the bulk of the code is cross-platform, it does need occasional
testing on Windows, because there are some inconsistencies in the API.

We do an integration build before submitting programs for testing, and we find
that it's important that everyone uses the same version of the same compiler.

Whilst I suppose I could insist on using a different IDE, I'd have to be very
committed to the other IDE for there to be a point in doing so.

Re: What is wrong with this?

<t3pve9$1c44$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21341&group=comp.lang.c#21341

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!NZ87pNe1TKxNDknVl4tZhw.user.46.165.242.91.POSTED!not-for-mail
From: antis...@math.uni.wroc.pl
Newsgroups: comp.lang.c
Subject: Re: What is wrong with this?
Date: Wed, 20 Apr 2022 21:54:17 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t3pve9$1c44$1@gioia.aioe.org>
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <t3kvua$5p1$1@dont-email.me> <Hmz7K.73578$e%.2483@fx36.iad> <t3mrd6$meq$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="45188"; posting-host="NZ87pNe1TKxNDknVl4tZhw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.0-9-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:WGO3909WSWpaOvASPebzgHMxA5w=
 by: antis...@math.uni.wroc.pl - Wed, 20 Apr 2022 21:54 UTC

Andrey Tarasevich <andreytarasevich@hotmail.com> wrote:
>
> As I has already stated previously, aside from some understandable niche
> areas, which amount to no more than mere statistical anomalies,
> everything in professional programming world is done in Visual Studio,
> regardless of the target platform.

Could you say more about your research methodology? How do you
get access to data that is frequently considered proprietary?
Why do you think that sample you have is representative?

--
Waldek Hebisch

Re: What is wrong with this?

<t3q8d9$kos$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21342&group=comp.lang.c#21342

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: andreyta...@hotmail.com (Andrey Tarasevich)
Newsgroups: comp.lang.c
Subject: Re: What is wrong with this?
Date: Wed, 20 Apr 2022 17:27:19 -0700
Organization: A noiseless patient Spider
Lines: 67
Message-ID: <t3q8d9$kos$1@dont-email.me>
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <t3kvua$5p1$1@dont-email.me>
<Hmz7K.73578$e%.2483@fx36.iad> <t3mrd6$meq$1@dont-email.me>
<t3mut7$h1o$1@dont-email.me> <t3n25n$bm6$1@dont-email.me>
<t3n8na$tnv$1@dont-email.me> <t3ni9j$t7n$1@dont-email.me>
<b073138a-632d-44a6-9991-759ef6851bc0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 21 Apr 2022 00:27:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1354408e1d2d121911005963ec7052b6";
logging-data="21276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iMixXZq5KO+U1UJHqRooQ"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Cancel-Lock: sha1:CMvnYb3c4yEgnwS2AiCCcey+XFk=
In-Reply-To: <b073138a-632d-44a6-9991-759ef6851bc0n@googlegroups.com>
Content-Language: en-US
 by: Andrey Tarasevich - Thu, 21 Apr 2022 00:27 UTC

On 4/20/2022 12:31 PM, Öö Tiib wrote:
>>
>> This piece of nonsense seems to have a life of its own. A tenet in this
>> outlandish and nonsensical religion. And a mark that instantly reveal
>> someone who doesn't know what they are talking about.
>>
>
> It was the case over decade ago or so. The C compiler of Visual Studio
> was so bad that it was easier to transform C code into common subset
> of C and C++ and to compile it with its C++ compiler.

That's just a repetition of the same nonsense we've seen before.

In C89/90 era, Microsoft C compiler has always been regarded as the
absolute industry leader. The only time their C compiler was attacked as
supposedly "bad" was the early post-C99 period when Microsoft C did not
support C99.

And even that was just a trollbait in 99 cases out of 100. Most of the
C99-related "complaints" were actually immaterial, since it was easy to
show that no one of those anonymous whiners actually knew C99 enough to
use it. (They still don't, since 99% of them were/are not even
programmers.)

Most of them were reddit-grade snot-nosed trolls just echoing each
other. It became especially evident after Microsoft quietly added C99
support to their C compilers. The trolls continued to whine, since they
wouldn't recognize C99 even if it hit them in the face. They still
whine, and that oft-repeated soundbite about "using subset of C++
instead of C" is probably the most telling tell that reveals such trolls.

>> Yes, I've seen completely green newbies who believe in this bizarre idea
>> that "C in MSVC is compatible subset of C++" because nobody ever told
>> them that there is real C in MSVC. Newbies simply have no idea how to
>> use real C. And their teachers usually don't either out of plain
>> incompetence.
>
> Maybe its C compiler has become better now but few know nor care as
> no shops are starting C projects for Visual Studio. Or maybe they are
> already saturated full with specialists so do not headhunt.

Again, that's just a repetition of the same nonsense we've seen before.

Shops that require specific compilers? Where on Earth did things go into
such extreme decay? Who does this? Outsourcing sweatshops?

> People just remember that it was crappy, have tons of other things to do
> and so find no motivation to download that visual studio and try it.

Well, welcome to Harvard again :) Someone injected people's head with
garbage and that became what they "remember".

The reason Visual Studio dominates everyday development across all
platforms in professional world is the simple fact that no one has ever
been able to even approach its deployment speed, convenience, efficiency
and usability. I definitely see that they have been trying since
forever, but fell short every time for some reason. Although personally,
I do see that reason rather clearly: what's the point of spending effort
to "match" Visual Studio with a new product, when nobody is going to
switch anyway? Guerilla holdouts in deep Amazon forests who believe that
"Linux desktop" wars are still in progress don't count.

--
Best regards,
Andrey Tarasevich

Re: What is wrong with this?

<t3qhkc$cni$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21343&group=comp.lang.c#21343

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: What is wrong with this?
Date: Wed, 20 Apr 2022 23:04:43 -0400
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <t3qhkc$cni$1@dont-email.me>
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <t3kvua$5p1$1@dont-email.me>
<Hmz7K.73578$e%.2483@fx36.iad> <t3mrd6$meq$1@dont-email.me>
<t3pve9$1c44$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Apr 2022 03:04:44 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="104f45a5b0ab37ac5c00f62e0d235cc6";
logging-data="13042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JbnnBtXUsRN1q8oy1Xpct/gvU0+z6YVE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:/e5Ed9HE+Bxse+yuSThKE0N8N7c=
In-Reply-To: <t3pve9$1c44$1@gioia.aioe.org>
Content-Language: en-US
 by: James Kuyper - Thu, 21 Apr 2022 03:04 UTC

On 4/20/22 17:54, antispam@math.uni.wroc.pl wrote:
> Andrey Tarasevich <andreytarasevich@hotmail.com> wrote:
>>
>> As I has already stated previously, aside from some understandable
>> niche areas, which amount to no more than mere statistical anomalies,
>> everything in professional programming world is done in Visual
>> Studio, regardless of the target platform.
>
> Could you say more about your research methodology? How do you
> get access to data that is frequently considered proprietary?
> Why do you think that sample you have is representative?

I believe that his research methodology is to dismiss every
counter-example he runs into as coming from a niche area,

Re: What is wrong with this?

<t3qnmj$h90$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21344&group=comp.lang.c#21344

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: What is wrong with this?
Date: Thu, 21 Apr 2022 06:48:35 +0200
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <t3qnmj$h90$1@dont-email.me>
References: <t3k4n3$1ba2l$1@paganini.bofh.team>
<7Pg7K.247579$H_t7.25381@fx40.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Apr 2022 04:48:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a26fc0b0152e92c59b60997e7f49832d";
logging-data="17696"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AemnBWffynl+S4rLX4yC/7O1ux07XHsU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:64UXDkSTHHBoqwEQbtVdEAP9wG0=
In-Reply-To: <7Pg7K.247579$H_t7.25381@fx40.iad>
Content-Language: de-DE
 by: Bonita Montero - Thu, 21 Apr 2022 04:48 UTC

Am 18.04.2022 um 19:00 schrieb Scott Lurndal:
> Jack Lemmon <invalid@invalid.net> writes:
>>
>> char get_char(const char *format, ...) __attribute__((format(printf, 1,
>> 2)));
>>
>> I downloaded a free library file from this link:
>> <https://github.com/cs50/libcs50/releases>
>>
>> But when I try to compile it, it faults at line 58 and other lines
>> containing attribute world. So what exactly is likely to be wrong with it.?
>> The library was created by Harvard uni for students to learn C
>> programming so it must work on a Windows system using visual Studio, but
>
> Evidence doesn't support the conclusion.
>
>> it doesn't. What changes should I make to make it work?
>
> Don't use Microsoft compilers.

MSVC hasn't the best optimizer-backend but for sure
the best C++20 frontend, even a little better than gcc.

Re: What is wrong with this?

<a07b76c9-d130-4931-8060-5b975e57f8e8n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21347&group=comp.lang.c#21347

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:351:b0:2f1:fe90:2ffb with SMTP id r17-20020a05622a035100b002f1fe902ffbmr12871414qtw.396.1650540632995;
Thu, 21 Apr 2022 04:30:32 -0700 (PDT)
X-Received: by 2002:a05:622a:1a93:b0:2f2:4f7:1b88 with SMTP id
s19-20020a05622a1a9300b002f204f71b88mr11155292qtc.34.1650540632858; Thu, 21
Apr 2022 04:30:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Thu, 21 Apr 2022 04:30:32 -0700 (PDT)
In-Reply-To: <t3q8d9$kos$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=84.50.190.130; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 84.50.190.130
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <t3kvua$5p1$1@dont-email.me>
<Hmz7K.73578$e%.2483@fx36.iad> <t3mrd6$meq$1@dont-email.me>
<t3mut7$h1o$1@dont-email.me> <t3n25n$bm6$1@dont-email.me> <t3n8na$tnv$1@dont-email.me>
<t3ni9j$t7n$1@dont-email.me> <b073138a-632d-44a6-9991-759ef6851bc0n@googlegroups.com>
<t3q8d9$kos$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a07b76c9-d130-4931-8060-5b975e57f8e8n@googlegroups.com>
Subject: Re: What is wrong with this?
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Thu, 21 Apr 2022 11:30:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 128
 by: Öö Tiib - Thu, 21 Apr 2022 11:30 UTC

On Thursday, 21 April 2022 at 03:27:35 UTC+3, Andrey Tarasevich wrote:
> On 4/20/2022 12:31 PM, Öö Tiib wrote:
> >>
> >> This piece of nonsense seems to have a life of its own. A tenet in this
> >> outlandish and nonsensical religion. And a mark that instantly reveal
> >> someone who doesn't know what they are talking about.
> >>
> >
> > It was the case over decade ago or so. The C compiler of Visual Studio
> > was so bad that it was easier to transform C code into common subset
> > of C and C++ and to compile it with its C++ compiler.
>
> That's just a repetition of the same nonsense we've seen before.

But it was so. How can facts be nonsense? C99 simply did not compile
around 2010. It was possible to get decent money for making C code
compatible with MSVC back then. Now no one even tries to. VS is used
for C# projects. Perhaps for those it is good.

> In C89/90 era, Microsoft C compiler has always been regarded as the
> absolute industry leader. The only time their C compiler was attacked as
> supposedly "bad" was the early post-C99 period when Microsoft C did not
> support C99.

That is plain lie. Before VS 6.0 (1998) MS toolchain was less used for PC
software than tools from Borland and Watcom because it was piss poor.
Best thing from MS was FoxPro that MS acquired from Fox Software.
That VS 6.0 toolchain was finally useful for Visual Basic, also it could compile
C++ passably so some migrated. However C was already used rarely as PC
programming language and things like Java started to take over application
market. That "early" post-C99 era when MS compiler for C was bad
lasted certainly for more than decade. It might be is bad right now. Who
knows? No one starts C programs for Windows desktop with whatever
toolchain so it is relatively pointless to waste time for checking.

>
> And even that was just a trollbait in 99 cases out of 100. Most of the
> C99-related "complaints" were actually immaterial, since it was easy to
> show that no one of those anonymous whiners actually knew C99 enough to
> use it. (They still don't, since 99% of them were/are not even
> programmers.)

Few months ago some people complained to me that there are no
<stdatomic.h> of MSVC and what to do. I was surprised why they need
MSVC. They told that wanted to try to compile their embedded code
tests or something like that. I suggested to use mingw. So that is the
only indication I have that MS is now maybe in "early post-C11" era
or whatever.

> Most of them were reddit-grade snot-nosed trolls just echoing each
> other. It became especially evident after Microsoft quietly added C99
> support to their C compilers. The trolls continued to whine, since they
> wouldn't recognize C99 even if it hit them in the face. They still
> whine, and that oft-repeated soundbite about "using subset of C++
> instead of C" is probably the most telling tell that reveals such trolls.

Who whines? Do I whine? If needed then real engineer gets whatever to
run with really horrible toolchain be it MSVC or IAR ... just the price will be
saltier and that is it. Otherwise it is work like usual. But such work is rare
now. Major desktop products like FireFox or Chrome are built using Clang
on Windows ... past 5 years or so.

> >> Yes, I've seen completely green newbies who believe in this bizarre idea
> >> that "C in MSVC is compatible subset of C++" because nobody ever told
> >> them that there is real C in MSVC. Newbies simply have no idea how to
> >> use real C. And their teachers usually don't either out of plain
> >> incompetence.
> >
> > Maybe its C compiler has become better now but few know nor care as
> > no shops are starting C projects for Visual Studio. Or maybe they are
> > already saturated full with specialists so do not headhunt.
>
> Again, that's just a repetition of the same nonsense we've seen before.
>
> Shops that require specific compilers? Where on Earth did things go into
> such extreme decay? Who does this? Outsourcing sweatshops?

Where are those "outsourcing sweatshops"? Do you live in 1999 Office Space
of Elbonia with Dilbert? Everybody sane narrow their toolchains down.
Require? No, they beg ... large salaries, free breakfasts and dinners, share
option programs, flexible work schedules, 4 day workweeks etc blah
blah ... just join us, majority of spam are those proposals.
> > People just remember that it was crappy, have tons of other things to do
> > and so find no motivation to download that visual studio and try it.
>
> Well, welcome to Harvard again :) Someone injected people's head with
> garbage and that became what they "remember".
>
> The reason Visual Studio dominates everyday development across all
> platforms in professional world is the simple fact that no one has ever
> been able to even approach its deployment speed, convenience, efficiency
> and usability. I definitely see that they have been trying since
> forever, but fell short every time for some reason. Although personally,
> I do see that reason rather clearly: what's the point of spending effort
> to "match" Visual Studio with a new product, when nobody is going to
> switch anyway? Guerilla holdouts in deep Amazon forests who believe that
> "Linux desktop" wars are still in progress don't count.

That is really like sarcasm. On one of my 3 workstations I have VS 2019
installed right now. It is no way good IDE. Sluggish, irresponsible,
inconvenient, ugly and does not work. Even text search gives incorrect
answers. Who has idea to beat what is not even used? The open source
like Notepad++ or QtCreator? No. People just wrote those to have working
code editor on Windows.

Re: What is wrong with this?

<t3rrv9$n6h$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21350&group=comp.lang.c#21350

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!Puiiztk9lHEEQC0y3uUjRA.user.46.165.242.75.POSTED!not-for-mail
From: non...@add.invalid (Manfred)
Newsgroups: comp.lang.c
Subject: Re: What is wrong with this?
Date: Thu, 21 Apr 2022 17:07:21 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t3rrv9$n6h$1@gioia.aioe.org>
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <t3kvua$5p1$1@dont-email.me>
<Hmz7K.73578$e%.2483@fx36.iad> <t3mrd6$meq$1@dont-email.me>
<t3mut7$h1o$1@dont-email.me> <t3n25n$bm6$1@dont-email.me>
<t3n8na$tnv$1@dont-email.me> <t3ni9j$t7n$1@dont-email.me>
<b073138a-632d-44a6-9991-759ef6851bc0n@googlegroups.com>
<t3q8d9$kos$1@dont-email.me>
<a07b76c9-d130-4931-8060-5b975e57f8e8n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="23761"; posting-host="Puiiztk9lHEEQC0y3uUjRA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Manfred - Thu, 21 Apr 2022 15:07 UTC

On 4/21/2022 1:30 PM, Öö Tiib wrote:
> On Thursday, 21 April 2022 at 03:27:35 UTC+3, Andrey Tarasevich wrote:
>> On 4/20/2022 12:31 PM, Öö Tiib wrote:
>>>>
>>>> This piece of nonsense seems to have a life of its own. A tenet in this
>>>> outlandish and nonsensical religion. And a mark that instantly reveal
>>>> someone who doesn't know what they are talking about.
>>>>
>>>
>>> It was the case over decade ago or so. The C compiler of Visual Studio
>>> was so bad that it was easier to transform C code into common subset
>>> of C and C++ and to compile it with its C++ compiler.
>>
>> That's just a repetition of the same nonsense we've seen before.
>
> But it was so. How can facts be nonsense? C99 simply did not compile
> around 2010. It was possible to get decent money for making C code
> compatible with MSVC back then. Now no one even tries to. VS is used
> for C# projects. Perhaps for those it is good.
>
>> In C89/90 era, Microsoft C compiler has always been regarded as the
>> absolute industry leader. The only time their C compiler was attacked as
>> supposedly "bad" was the early post-C99 period when Microsoft C did not
>> support C99.
>
> That is plain lie. Before VS 6.0 (1998) MS toolchain was less used for PC
> software than tools from Borland and Watcom because it was piss poor.
> Best thing from MS was FoxPro that MS acquired from Fox Software.
> That VS 6.0 toolchain was finally useful for Visual Basic, also it could compile
> C++ passably so some migrated. However C was already used rarely as PC
> programming language and things like Java started to take over application
> market. That "early" post-C99 era when MS compiler for C was bad
> lasted certainly for more than decade. It might be is bad right now. Who
> knows? No one starts C programs for Windows desktop with whatever
> toolchain so it is relatively pointless to waste time for checking.
>

I can confirm this was my experience too.
Moreover, claiming that in the 90's MS C was the "absolute industry
leader" for C development, while it could only target the PC is somewhat
telling...

Re: What is wrong with this?

<t42ojj$1b3n$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21429&group=comp.lang.c#21429

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!YpgQ0RW05rxPQLn9OTMxZA.user.46.165.242.75.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: comp.lang.c
Subject: Re: What is wrong with this?
Date: Sun, 24 Apr 2022 01:52:54 -0400
Organization: Aioe.org NNTP Server
Message-ID: <t42ojj$1b3n$1@gioia.aioe.org>
References: <t3k4n3$1ba2l$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="44151"; posting-host="YpgQ0RW05rxPQLn9OTMxZA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Paul - Sun, 24 Apr 2022 05:52 UTC

On 4/18/2022 12:44 PM, Jack Lemmon wrote:
>
> char get_char(const char *format, ...) __attribute__((format(printf, 1,
> 2)));
>
> I downloaded a free library file from this link:
> <https://github.com/cs50/libcs50/releases>
>
> But when I try to compile it, it faults at line 58 and other lines
> containing attribute world. So what exactly is likely to be wrong with it.?
> The library was created by Harvard uni for students to learn C
> programming so it must work on a Windows system using visual Studio, but
> it doesn't. What changes should I make to make it work?
>
>

This is what I got on Windows. Windows 11 (if you look at the task bar).

Used mingw32.

The thing isn't ready to be a DLL. That would take work.

While a web page told me a few arguments you could pass to GCC
to build, I don't think GCC picks them up unless you pass them.
I left them on the screen in the picture, in case you want to experiment with
them in some other environment.

So I was able to get some usage from the lib, by compiling
as a unit and linking.

[Picture] If the frame is blank, right-click and select "Reload"

https://i.postimg.cc/NF7k94F0/cs50-basic.gif

Using this stub:

https://ftp.halifax.rwth-aachen.de/osdn/mingw/68260/mingw-get-setup.exe

and selecting just the default packages. You don't need to spend
time at the very beginning, larding up C:\mingw with unnecessary items.

https://i.postimg.cc/bvHZcN6K/mingw-basic.gif

I picked three files out of the cs50, for a test compile. Failed
the first time, and a small edit, and I could at least demo a working
compile on Windows. Mingw uses GCC.

https://codeload.github.com/cs50/libcs50/zip/refs/tags/v10.1.1

Name: libcs50-10.1.1.zip
Size: 19966 bytes (19 KiB)
SHA1: 9F11E761C5513C5419BAADE7FCFB78CB18953E4F

I hope whatever is in that module, is worth it.

Paul

Re: What is wrong with this?

<t43ut8$opq$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21436&group=comp.lang.c#21436

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!WrBle+l1O+AlWgca0dBD+g.user.46.165.242.75.POSTED!not-for-mail
From: mess...@bottle.org (Guillaume)
Newsgroups: comp.lang.c
Subject: Re: What is wrong with this?
Date: Sun, 24 Apr 2022 18:46:26 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t43ut8$opq$1@gioia.aioe.org>
References: <t3k4n3$1ba2l$1@paganini.bofh.team>
<7Pg7K.247579$H_t7.25381@fx40.iad> <t3qnmj$h90$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="25402"; posting-host="WrBle+l1O+AlWgca0dBD+g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: fr
 by: Guillaume - Sun, 24 Apr 2022 16:46 UTC

Le 21/04/2022 à 06:48, Bonita Montero a écrit :
> Am 18.04.2022 um 19:00 schrieb Scott Lurndal:
>> Jack Lemmon <invalid@invalid.net> writes:
>>>
>>> char get_char(const char *format, ...) __attribute__((format(printf, 1,
>>> 2)));
>>>
>>> I downloaded a free library file from this link:
>>> <https://github.com/cs50/libcs50/releases>
>>>
>>> But when I try to compile it, it faults at line 58 and other lines
>>> containing attribute world. So what exactly is likely to be wrong
>>> with it.?
>>> The library was created by Harvard uni for students to learn C
>>> programming so it must work on a Windows system using visual Studio, but
>>
>> Evidence doesn't support the conclusion.
>>
>>> it doesn't. What changes should I make to make it work?
>>
>> Don't use Microsoft compilers.
>
> MSVC hasn't the best optimizer-backend but for sure
> the best C++20 frontend, even a little better than gcc.

1/ please provide proof of that with examples,
2/ what does it have anything to do with the OP's question? Nothing.

Re: What is wrong with this?

<fd7dae8e-8f43-47c5-9f5a-703874eef3d6n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21440&group=comp.lang.c#21440

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:1750:b0:2f3:6453:b382 with SMTP id l16-20020a05622a175000b002f36453b382mr3394341qtk.396.1650830655388;
Sun, 24 Apr 2022 13:04:15 -0700 (PDT)
X-Received: by 2002:ac8:5a4a:0:b0:2f3:67d0:3691 with SMTP id
o10-20020ac85a4a000000b002f367d03691mr1512135qta.135.1650830655184; Sun, 24
Apr 2022 13:04:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 24 Apr 2022 13:04:14 -0700 (PDT)
In-Reply-To: <t43ut8$opq$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.158; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.158
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <7Pg7K.247579$H_t7.25381@fx40.iad>
<t3qnmj$h90$1@dont-email.me> <t43ut8$opq$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fd7dae8e-8f43-47c5-9f5a-703874eef3d6n@googlegroups.com>
Subject: Re: What is wrong with this?
From: profesor...@gmail.com (fir)
Injection-Date: Sun, 24 Apr 2022 20:04:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 35
 by: fir - Sun, 24 Apr 2022 20:04 UTC

niedziela, 24 kwietnia 2022 o 18:46:47 UTC+2 Guillaume napisał(a):
> Le 21/04/2022 à 06:48, Bonita Montero a écrit :
> > Am 18.04.2022 um 19:00 schrieb Scott Lurndal:
> >> Jack Lemmon <inv...@invalid.net> writes:
> >>>
> >>> char get_char(const char *format, ...) __attribute__((format(printf, 1,
> >>> 2)));
> >>>
> >>> I downloaded a free library file from this link:
> >>> <https://github.com/cs50/libcs50/releases>
> >>>
> >>> But when I try to compile it, it faults at line 58 and other lines
> >>> containing attribute world. So what exactly is likely to be wrong
> >>> with it.?
> >>> The library was created by Harvard uni for students to learn C
> >>> programming so it must work on a Windows system using visual Studio, but
> >>
> >> Evidence doesn't support the conclusion.
> >>
> >>> it doesn't. What changes should I make to make it work?
> >>
> >> Don't use Microsoft compilers.
> >
> > MSVC hasn't the best optimizer-backend but for sure
> > the best C++20 frontend, even a little better than gcc.
> 1/ please provide proof of that with examples,
> 2/ what does it have anything to do with the OP's question? Nothing.

bonita is religious fighter ..its sorta dik hodgin, c++pony evengelisation is her life, thios also dont get down to arguments it gets down to ungrounded belif - and its a waste of time to argue with this kind of people - becouse such people ' make chaff from the brain..gods thank at least hodgin is out

Re: What is wrong with this?

<550b0251-d77c-4181-881e-4f2077387100n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21451&group=comp.lang.c#21451

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:b442:0:b0:69a:fc75:ca52 with SMTP id d63-20020a37b442000000b0069afc75ca52mr9323075qkf.730.1650876182391;
Mon, 25 Apr 2022 01:43:02 -0700 (PDT)
X-Received: by 2002:a05:622a:6114:b0:2f0:ffc8:53f8 with SMTP id
hg20-20020a05622a611400b002f0ffc853f8mr11023955qtb.681.1650876182234; Mon, 25
Apr 2022 01:43:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 25 Apr 2022 01:43:02 -0700 (PDT)
In-Reply-To: <fd7dae8e-8f43-47c5-9f5a-703874eef3d6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.50.190.130; posting-account=pysjKgkAAACLegAdYDFznkqjgx_7vlUK
NNTP-Posting-Host: 84.50.190.130
References: <t3k4n3$1ba2l$1@paganini.bofh.team> <7Pg7K.247579$H_t7.25381@fx40.iad>
<t3qnmj$h90$1@dont-email.me> <t43ut8$opq$1@gioia.aioe.org> <fd7dae8e-8f43-47c5-9f5a-703874eef3d6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <550b0251-d77c-4181-881e-4f2077387100n@googlegroups.com>
Subject: Re: What is wrong with this?
From: oot...@hot.ee (Öö Tiib)
Injection-Date: Mon, 25 Apr 2022 08:43:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 43
 by: Öö Tiib - Mon, 25 Apr 2022 08:43 UTC

On Sunday, 24 April 2022 at 23:04:22 UTC+3, fir wrote:
> niedziela, 24 kwietnia 2022 o 18:46:47 UTC+2 Guillaume napisał(a):
> > Le 21/04/2022 à 06:48, Bonita Montero a écrit :
> > > Am 18.04.2022 um 19:00 schrieb Scott Lurndal:
> > >> Jack Lemmon <inv...@invalid.net> writes:
> > >>>
> > >>> char get_char(const char *format, ...) __attribute__((format(printf, 1,
> > >>> 2)));
> > >>>
> > >>> I downloaded a free library file from this link:
> > >>> <https://github.com/cs50/libcs50/releases>
> > >>>
> > >>> But when I try to compile it, it faults at line 58 and other lines
> > >>> containing attribute world. So what exactly is likely to be wrong
> > >>> with it.?
> > >>> The library was created by Harvard uni for students to learn C
> > >>> programming so it must work on a Windows system using visual Studio, but
> > >>
> > >> Evidence doesn't support the conclusion.
> > >>
> > >>> it doesn't. What changes should I make to make it work?
> > >>
> > >> Don't use Microsoft compilers.
> > >
> > > MSVC hasn't the best optimizer-backend but for sure
> > > the best C++20 frontend, even a little better than gcc.
> > 1/ please provide proof of that with examples,
> > 2/ what does it have anything to do with the OP's question? Nothing.
>
> bonita is religious fighter ..its sorta dik hodgin, c++pony evengelisation is her life, thios also dont get down to arguments it gets down to ungrounded belif - and its a waste of time to argue with this kind of people - becouse such people ' make chaff from the brain..gods thank at least hodgin is out

You are like bonita. The ramine went silent for some time, bonita whined
where the nutcase is and of course that come back. Now you are calling
hodgin. Do you miss him so badly?

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor