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 31,765 of 33,346   
   Miles Bader to Sam Hu   
   Re: Keyword "innate" to allow compile ti   
   26 Dec 11 16:37:22   
   
   4db8f13f   
   From: miles@gnu.org   
      
   Sam Hu  writes:   
   >>    // g++ 4.7: -std=c++11 -O2 -Wall -Wextra -pedantic-errors   
   >   
   > Sorry for my stepping in.   
   >   
   > May I ask is this feature available under windows ,I mean MinGW with   
   > MSYS or the like.I just downloaded from MinGW website a whole set of   
   > stuffs by MinGW installer,but unfortunately g++ does not recognize -   
   > std=c++11.Thank you.   
      
   If you use the option "-std=c++0x" (instead of "-std=c++11"), it   
   should work with g++ version 4.6 (the most recent released version).   
      
   I don't have any personal experience with MinGW/MSYS, but I think it   
   shouldn't make any difference as long as the compiler version is   
   recent enough.   
      
   [I'm using a development version of g++,what will become 4.7 when   
   released (which does accept the -std=c++11 option).  Of course 4.7   
   supports more C++11/C++0x features, but the particular feature used   
   here (constexpr) was supported in 4.6 too.]   
      
   -miles   
      
   --   
   The automobile has not merely taken over the street, it has dissolved the   
   living tissue of the city.  Its appetite for space is absolutely insatiable;   
   moving and parked, it devours urban land, leaving the buildings as mere   
   islands of habitable space in a sea of dangerous and ugly traffic.   
   [James Marston Fitch, New York Times, 1 May 1960]   
      
      
         [ 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