home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,738 of 243,242   
   Keith Thompson to bart   
   Re: New and improved version of cdecl   
   31 Oct 25 17:14:42   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   bart  writes:   
   [...]   
   > And as for diagnostics, it seems that you have actively know about   
   > them and explicitly enable checking for them.   
      
   It "seems"?   
      
   Yes.  Most C compilers, and gcc in particular, are not fully   
   conforming by default, and do not produce all the diagnostics   
   required by the ISO C standard.  Most C compilers have options   
   that tell them to attempt to do so.  For gcc or clang, you can use   
   "-std=c17 -pedantic".  Replace "c17" by whatever edition of the   
   standard hou prefer to use.  Replace "-pedantic" by "-pedantic-errors"   
   if you want fatal diagnostics.  Replace "-pedantic" by "-Wpedantic"   
   if you're fond of the letter 'W'.   
      
   I've been telling you this for well over a decade, and it still only   
   "seems" to be the case?  How does that work?   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca