Перейти к содержанию
    

У Гнутых ОС для техасов есть будущее потому что они скажем так предоставляют свежий взгляд.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

У Гнутых ОС для техасов есть будущее.

А у техасов есть явное желание быть ближе к ним, так как все больше и больше GNU-расширений поддерживают их 6000-ные кодегены.

 

The GNU compiler, GCC, provides a number of language features not found in the
ANSI standard C. The definition and official examples of these extensions can
be found online at

http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/C-Extensions.html#C-Extensions

The --gcc option enables support for the GCC extensions described below.

The extensions that the TI compiler supports are listed in the following table.

Extension              Description
---------              -----------
Statement Expressions  Placing statements and declarations inside expressions
                          (useful for creating smart "safe" macros).
Local Labels           Labels local to a statement-expression.
Naming Types           Giving a name to the type of some expression.
Typeof Operator        typeof referring to the type of an expression
Generalized Lvalues    Using '? ', ',' and casts in lvalues

Conditionals           Omitting the middle operand of a '? ' expression
Long Long              Double-longword integers - long long int.
Hex Floats             Hexadecimal floating-point constants.
Zero Length            Zero-length arrays.
Macro Varargs          Macros with variable number of arguments.
Subscripting           Any array can be subscripted, even if not an lvalue.

Pointer Arithmetics    Arithmetic on void-pointers and function pointers.
Initializers           Non-constant initializers.
Cast Constructors      Constructor expressions give structures, unions or
                           arrays as values.
Labeled Elements       Labeling elements of initializers.
Cast to Union          Casting to union type from any member of the union.
                           Case Ranges 'case 1 ... 9' and such.
Function Attributes    Declaring that functions have no side effects, or that
                           they can never return.
Function Prototypes    Prototype declarations and old-style definitions.


C++ Comments           C++ comments are recognized.
Dollar Signs           Dollar sign is allowed in identifiers.
Character Escapes      '\e' stands for the character ESC.
Alignment              Inquiring about the alignment of a type or variable.
Variable Attributes    Specifying attributes of variables.
Type Attributes        Specifying attributes of types.
Inline Defining        inline functions (as fast as macros).
Asm Labels             Specifying the assembler name to use for a C symbol.
Alternate Keywords     __const__, __asm__, etc., for header files.
Incomplete Enums       enum foo;, with details to follow.
Function Names         Printable strings which are the name of the current
                          function.
Return Address         Getting the return or frame address of a function.
                          __builtin_return_address, __builtin_frame_address
Other Builtins         Other built-in functions.__builtin_constant_p,
                          __builtin_expect

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

×
×
  • Создать...