Directives (section 6.10), Error directive (section 6.10.5), Predefined macro names (section 6.10.8) – Altera Nios II C2H Compiler User Manual

Page 133: Other restrictions, Other restrictions –9

Advertising
background image

Altera Corporation

9.1

7–9

November 2009

Nios II C2H Compiler User Guide

ANSI C Compliance and Restrictions

{

char *c1 = "??<";

return (c1!=c2);

}

Directives (Section 6.10)

The C2H Compiler does not support the directives listed in this section.

Error Directive (Section 6.10.5)
The error directive is not supported.

#error

Predefined Macro Names (Section 6.10.8)
All the predefined macros of Section 6.10.8 are not supported. These
predefined macros include:

_ _ bool_true_false_are_defined

_ _ cplusplus

_ _ DATE_ _

_ _ FILE_ _

_ _ LINE_ _

_ _ STDC_, 6.11.9

_ _ STDC_ _

_ _ STDC_CONSTANT_MACROS

_ _ STDC_FORMAT_MACROS

_ _ STDC_HOSTED_ _

_ _ STDC_IEC_559_

_ _ STDC_IEC_559_COMPLEX_ _

_ _ STDC_ISO_10646_ _

_ _ STDC_LIMIT_MACROS

_ _ STDC_VERSION_ _

_ _ TIME_ _

_Complex_I

_Imaginary_I

_IOFBF

_IOLBF

_IONBF

Other
Restrictions

The C2H Compiler does not support external subfunctions. You must
locate the subfunction in the same source file as the accelerated function.
This is because, unlike the

#include

construct, a C external function

reference requires the presence of a linker. The C2H Compiler has no
linker.

Advertising