JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2: C User's Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction to the C Compiler

2.  C-Compiler Implementation-Specific Information

3.  Parallelizing C Code

4.  lint Source Code Checker

5.  Type-Based Alias Analysis

6.  Transitioning to ISO C

7.  Converting Applications for a 64-Bit Environment

8.  cscope: Interactively Examining a C Program

A.  Compiler Options Grouped by Functionality

B.  C Compiler Options Reference

C.  Implementation-Defined ISO/IEC C99 Behavior

D.  Supported Features of C99

D.1 Discussion and Examples

D.1.1 Precision of Floating Point Evaluators

D.1.2 C99 Keywords

D.1.2.1 Using the restrict Keyword

D.1.3 __func__ Support

D.1.4 Universal Character Names (UCN)

D.1.5 Commenting Code With //

D.1.6 Disallowed Implicit int and Implicit Function Declarations

D.1.7 Declarations Using Implicit int

D.1.8 Flexible Array Members

D.1.9 Idempotent Qualifiers

D.1.10 inline Functions

D.1.10.1 Solaris Studio C compiler gcc compatibility for inline functions

D.1.11 Static and Other Type Qualifiers Allowed in Array Declarators

D.1.12 Variable Length Arrays (VLA):

D.1.13 Designated Initializers

D.1.14 Mixed Declarations and Code

D.1.15 Declaration in for-Loop Statement

D.1.16 Macros With a Variable Number of Arguments

D.1.17 _Pragma

E.  Implementation-Defined ISO/IEC C90 Behavior

F.  ISO C Data Representations

G.  Performance Tuning

H.  The Differences Between K&R Solaris Studio C and Solaris Studio ISO C

Index

Appendix D

Supported Features of C99

This appendix lists the supported features of the ISO/IEC 9899:1999, Programming Language - C standard.

The -xc99 flag controls compiler recognition of the implemented features. For more information on the syntax of -xc99, see B.2.79 -xc99[=o].


Note - Though the compiler defaults to supporting the features of C99 listed below, standard headers provided by the Solaris software in /usr/include do not yet conform with the 1999 ISO/IEC C standard. If error messages are encountered, try using -xc99=none to obtain the 1990 ISO/IEC C standard behavior for these headers.