Are “Statement and Declarations in Expressions” specific to GNU C?

后端 未结 3 1358
一个人的身影
一个人的身影 2021-01-24 04:09

Are Statement and Declarations in Expressions specific to GNU C ? Or this feature is also included in C99 standard ?

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-24 04:41

    While this is not a C99 standard, this extension is not specific to gcc either.

    For instance, the clang compiler and Intel C++ compiler support this extension.

提交回复
热议问题