1.. SPDX-License-Identifier: GPL-2.0 2 3.. include:: ../disclaimer-zh_TW.rst 4 5:Original: :ref:`Documentation/process/programming-language.rst <programming_language>` 6:Translator: Alex Shi <alex.shi@linux.alibaba.com> 7 Hu Haowen <2023002089@link.tyut.edu.cn> 8 9.. _tw_programming_language: 10 11������������������ 12============ 13 14������������C������ :ref:`c-language <tw_c-language>` ������������������������������������������������ :ref:`gcc <tw_gcc>` 15��� ``-std=gnu11`` :ref:`gcc-c-dialect-options <tw_gcc-c-dialect-options>` ���������������ISO C11��� GNU ������ 16 17��������������������������� :ref:`gnu-extensions <tw_gnu-extensions>` ��������������������������������������������������������������� 18 19������������������������������������������ :ref:`clang <tw_clang>` ��� :ref:`icc <tw_icc>` ������������ 20������������������������������������������������������������������������������������ 21 22������ 23---- 24 25���������������������������������������������������������attributes��� :ref:`gcc-attribute-syntax <tw_gcc-attribute-syntax>` 26������������������������������������������������������������������������������������������������������������������ 27��������������������������������������������������� :ref:`n2049 <tw_n2049>` 28 29������������������������������������������������������������������������������������������������������������������ 30������������������������������������������������/��������������������� 31 32��������������������������������������� ``pure`` ���������������������������GNU���������������������, 33``__attribute__((__pure__))`` ���������������������������������������������/���������������, ������ 34��������� ``include/linux/compiler_attributes.h`` 35 36.. _tw_c-language: 37 38c-language 39 http://www.open-std.org/jtc1/sc22/wg14/www/standards 40 41.. _tw_gcc: 42 43gcc 44 https://gcc.gnu.org 45 46.. _tw_clang: 47 48clang 49 https://clang.llvm.org 50 51.. _tw_icc: 52 53icc 54 https://software.intel.com/en-us/c-compilers 55 56.. _tw_gcc-c-dialect-options: 57 58c-dialect-options 59 https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html 60 61.. _tw_gnu-extensions: 62 63gnu-extensions 64 https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html 65 66.. _tw_gcc-attribute-syntax: 67 68gcc-attribute-syntax 69 https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html 70 71.. _tw_n2049: 72 73n2049 74 http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2049.pdf 75 76