gcc中关于C/C++标准的选项
man gcc里面说到gcc使用指定的标准编译C/C++的选项是:-std=standard,其中standard可以是
c89(传说中的c89)
iso9899:1990
Support all ISO C90 programs (certain GNU extensions that conflict with ISO C90
are disabled). Same as -ansi for C code.
iso9899:199409
ISO C90 as modified in amendment 1.
c99(传说中的c99)
c9x
iso9899:1999
iso9899:199x
ISO C99. Note that this standard is not yet fully supported; see
<http://gcc.gnu.org/gcc-4.2/c99status.html> for more information. The names c9x
and iso9899:199x are deprecated.
gnu89
GNU dialect of ISO C90 (including some C99 features). This is the default for C code.
gnu99
gnu9x
GNU dialect of ISO C99. When ISO C99 is fully implemented in GCC, this will
become the default. The name gnu9x is deprecated.
c++98
The 1998 ISO C++ standard plus amendments. Same as -ansi for C++ code.
gnu++98
GNU dialect of -std=c++98. This is the default for C++ code.
还有一个选项就是-ansi,上面也说到了。
以上是在gcc4.2.4里面看到的。
2022年9月04日 19:12
Gujarat Board Model Paper 2023 Class 1 Pdf Download with Answers for Gujarati Medium, English Medium, Hindi Medium, Urdu Medium & Students for Small Answers, Long Answer, Very Long Answer Questions, and Essay Type Questions to Term1 & Term2 Exams at official website. Gujarat Board 1st Class Model Paper New Exam Scheme or Question Pattern for Sammittive Assignment Exams (SA1 & SA2): Very Long Answer (VLA), Long Answer (LA), Small Answer (SA), Very Small Answer (VSA), Single Answer, Multiple Choice and etc.
2023年7月23日 00:14
Etsy ist eine E-Commerce-Plattform, die handgefertigte und antike Dinge sowie kreative Materialien verkauft. Etsy ist eine beliebte Einkaufsseite für Künstler. Betrachten Sie es als eine Online-Handwerksshow. etsy bestellung stornieren Etsy ist eine erfolgreiche E-Commerce-Website. Kunden können handgefertigte Geschenke, Bastelmaterialien und historische Waren von einzelnen Verkäufern finden. Die Produkte werden häufig individuell angepasst und auf Bestellung hergestellt, wodurch jedes Geschenk eine persönliche Note erhält.
2023年8月22日 19:56
Gujarat Board Primary School Academic Year Close in Every Year Month of April, Gujarat Board Elementary School new Academic Year Open in Every Year Month of Jun, Every Year Gujarat State Wise Class More Than 50 Laks of Students Attended, Every Year Primary School Education Department Government of Gujarat Distribution in Textbook in Gujarati / English / Hindi Medium.The Printed Gujarat Class Gujarat 3rd Class Textbook 2024 Textbook 2024 are Distributed Through Cooperative Institutions All over Gujarat. Vendors are Linked to the Distribution of Textbooks with Distributors in each District. Gujarat Board Class Book 2024 are easily Accessible to All Students of This System, This will assist in improving the Quality of Teaching by Understanding the Type of Difficulties Faced by Students.
2023年12月11日 03:58
Crafting compelling titles that both pique curiosity and incorporate relevant keywords is the artistry of 구글 seo.
2023年12月19日 21:29
천안오피 offers a serene escape from the chaos of daily life.
2023年12月21日 19:19
오피뷰 offers a sanctuary in the digital world, helping me escape the daily grind.
2023年12月25日 22:26
The ambiance at 울산휴게텔 is soothing and peaceful.
2023年12月26日 23:10
I've saved a ton of money with무료스포츠중계. It's a win-win for sports enthusiasts.
2024年1月08日 00:43
Pavzi.com is a startup by passionate webmasters and bloggers who have a passion for providing engaging content that is accurate, interesting, and worthy to read. pavzi.com We are more like a web community where you can find different information, resources, and topics on day-to-day incidents or news. We provide you with the finest web content on every topic possible with the help of the editorial and content team.