Re: New VSI blog post

Liste des GroupesRevenir à co vms 
Sujet : Re: New VSI blog post
De : johnrreagan (at) *nospam* earthlink.net (John Reagan)
Groupes : comp.os.vms
Date : 01. Aug 2024, 03:01:07
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <f999671575e9e12787e908d9f71e6f5fafbb63f5@i2pn2.org>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
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"

Date Sujet#  Auteur
30 Jul 24 * New VSI blog post34Arne Vajhøj
30 Jul 24 +* Re: New VSI blog post20John Reagan
30 Jul 24 i+* Re: New VSI blog post18Simon Clubley
31 Jul 24 ii`* Re: New VSI blog post17Arne Vajhøj
31 Jul 24 ii `* Re: New VSI blog post16John Reagan
1 Aug 24 ii  `* Re: New VSI blog post15Arne Vajhøj
1 Aug 24 ii   +- Re: New VSI blog post1Arne Vajhøj
1 Aug 24 ii   `* Re: New VSI blog post13John Reagan
1 Aug 24 ii    `* Re: New VSI blog post12Lawrence D'Oliveiro
1 Aug 24 ii     `* Re: New VSI blog post11Arne Vajhøj
1 Aug 24 ii      `* Re: New VSI blog post10Lawrence D'Oliveiro
1 Aug 24 ii       `* Re: New VSI blog post9Arne Vajhøj
1 Aug 24 ii        +* Re: New VSI blog post5John Reagan
1 Aug 24 ii        i`* Re: New VSI blog post4Lawrence D'Oliveiro
4 Aug 24 ii        i `* Re: New VSI blog post3John Reagan
4 Aug 24 ii        i  `* Re: New VSI blog post2Lawrence D'Oliveiro
5 Aug 24 ii        i   `- Re: New VSI blog post1Arne Vajhøj
1 Aug 24 ii        `* Re: New VSI blog post3Dave Froble
1 Aug 24 ii         `* Re: New VSI blog post2John Dallman
1 Aug 24 ii          `- Re: New VSI blog post1Arne Vajhøj
30 Jul 24 i`- Re: New VSI blog post1Stephen Hoffman
30 Jul 24 `* Re: New VSI blog post13Richard Jordan
30 Jul 24  +* Re: New VSI blog post2Craig A. Berry
30 Jul 24  i`- Re: New VSI blog post1Arne Vajhøj
30 Jul 24  +- Re: New VSI blog post1Arne Vajhøj
31 Jul 24  `* Re: New VSI blog post9John Reagan
31 Jul 24   +* Re: New VSI blog post7Chris Townley
1 Aug 24   i+* Re: New VSI blog post4Craig A. Berry
1 Aug 24   ii`* Re: New VSI blog post3Chris Townley
1 Aug 24   ii `* Re: New VSI blog post2John Reagan
1 Aug 24   ii  `- Re: New VSI blog post1Robert A. Brooks
1 Aug 24   i`* Re: New VSI blog post2John Reagan
1 Aug 24   i `- Re: New VSI blog post1Chris Townley
2 Aug 24   `- Re: New VSI blog post1Richard Jordan

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal