| Deutsch English Français Italiano |
|
<f999671575e9e12787e908d9f71e6f5fafbb63f5@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: John Reagan <johnrreagan@earthlink.net>
Newsgroups: comp.os.vms
Subject: Re: New VSI blog post
Date: Wed, 31 Jul 2024 22:01:07 -0400
Organization: i2pn2 (i2pn.org)
Message-ID: <f999671575e9e12787e908d9f71e6f5fafbb63f5@i2pn2.org>
References: <v899gl$mggt$1@dont-email.me>
<e2e8638b95e119c998fa3f01849f4e75e2c46b58@i2pn2.org>
<v8am43$11aec$1@dont-email.me> <v8buol$17pam$2@dont-email.me>
<3a8759652d4cb95dbb082ab251229b39804dd554@i2pn2.org>
<v8elko$1q0n5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Aug 2024 02:01:08 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="1046143"; mail-complaints-to="usenet@i2pn2.org";
posting-account="85Cwws6+ypgQVu4foqgE6eSuYb0IIJZq6Fz6j0v4a/s";
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <v8elko$1q0n5$1@dont-email.me>
X-Spam-Checker-Version: SpamAssassin 4.0.0
Bytes: 2648
Lines: 43
On 7/31/2024 8:42 PM, Arne Vajhøj wrote:
> On 7/31/2024 4:44 PM, John Reagan wrote:
>> On 7/30/2024 7:59 PM, Arne Vajhøj wrote:
>>> All of the above is bad in some ways.
>>>
>>> Dont't ignore warnings, always include .h in implementing
>>> .c, never use old style declarations without arguments and
>>> don't mix VMS C and Clang C.
>>>
>>> But bad things has been seen out in the big world.
>>
>> And don't forget that /STANDARD=VAXC will cover up a ton of bad code
>
> :-(
>
> Maybe time to add this to the C compiler.
>
> subroutine revenge
> character*80 std
> character*256 fnm
> integer*4 stdlen, fnmlen
> integer*4 cli$present
> if(iand(cli$present('STANDARD'),1).eq.1) then
> call cli$get_value('STANDARD', std, stdlen)
> if(std(1:stdlen).eq.'VAXC') then
> call cli$get_value('FILE', fnm, fnmlen)
> call lib$delete_file(fnm(1:fnmlen), '.c')
> endif
> end if
> end
>
> :-) :-) :-)
>
> My apologies for being in Fortran mood instead of Pascal mood.
>
> Arne
>
Early on, I wanted to get rid of /STANDARD=VAXC. It is used on the C
modules inside the Macro compiler. I modified the build script to
remove it. A single module then got over 600 warnings (about 575 due to
the same type mismatch that really wasn't a problem). So I as I tell
others: "Put the rock back down and back away slowly"