User Tools

Site Tools


gcc_extensions

This is an old revision of the document!


Overview

Most useful GCC extensions to C language; avoid by using -pedantic.

Extensions

Statements and declarations in expressions

#define maxint(a,b) \
  ({int _a = (a), _b = (b); _a > _b ? _a : _b; })
gcc_extensions.1564057013.txt.gz · Last modified: 2019/07/25 12:16 by rpjday