Function specifiers (section 6.7.4), Functions declared without a return type, Miscellaneous unsupported features – Altera Nios II C2H Compiler User Manual
Page 132: Goto (section 6.8.6.1), Identifiers (section 6.4.2.2), Trigraph sequences (section 5.2.1.1)

7–8
9.1
Altera Corporation
Nios II C2H Compiler User Guide
November 2009
Language
Example 7–3. Nonrecursive Implementation of Factorial Function
int factorial(int x)
{
int tmp = 1, i;
for (i = 0 ;i
tmp *= (i+1);
}
return tmp;
}
Function Specifiers (Section 6.7.4)
The
inline
function specifier is ignored in the C2H design flow. The
build process uses the nios2-elf-gcc option
–fno-inline
.
Functions Declared Without a Return Type
The C2H compiler does not support functions without an explicitly
declared return type. If you are using the implicit
int
return type, declare
the return type explicitly. If your function has no return value, declare it
as
void
.
Miscellaneous Unsupported Features
The C2H Compiler does not support the features of ANSI C listed in this
section.
Goto (Section 6.8.6.1)
The
goto
keyword is not supported.
Identifiers (Section 6.4.2.2)
The predefined identifier
_ _ func_ _
is not supported.
Trigraph Sequences (Section 5.2.1.1)
The use of trigraph sequences to reduce the standard C character set to
the smaller ISO 646 character set is not supported.
The following function call uses unsupported trigraph “
??<
“ in place of
“{“:
int cmpchar(char *c2)