home bbs files messages ]

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

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

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

   Message 32,005 of 33,346   
   Pete Becker to Robert Wessel   
   Re: Legal Means Of Protecting C++?   
   14 Mar 12 15:18:25   
   
   From: pete@versatilecoding.com   
      
   On 2012-03-14 19:16:24 +0000, Robert Wessel said:   
      
   > Is there a C++ compiler out there that doesn't have some extensions?   
   > And the article referenced mentions that this is C++/CX about nine   
   > times, anyway.   
      
   And the C++ standard is written so that extensions are allowed. Syntactically   
   invalid code requires "a diagnostic". That's all. A conforming compiler,   
   having issued a diagnostic, can then do anything at all without violating the   
   standard, including    
   compiling the offending code in an implementation-specific way.   
      
   Of course, the default mode for some compilers is non-conforming, in that it   
   allows the vendor's pet extensions without issuing diagnostics.   
      
   --   
   Pete   
   Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of "The Standard   
   C++ Library Extensions: a Tutorial and Reference (www.petebecker.com/tr1book)   
      
      
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- 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