ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.pod
(Generate patch)

Comparing libecb/ecb.pod (file contents):
Revision 1.73 by root, Sun Apr 24 19:49:20 2016 UTC vs.
Revision 1.74 by root, Mon Nov 19 00:27:38 2018 UTC

66 66
67The macro C<ECB_PTRSIZE> is defined to the size of a pointer on this 67The macro C<ECB_PTRSIZE> is defined to the size of a pointer on this
68platform (currently C<4> or C<8>) and can be used in preprocessor 68platform (currently C<4> or C<8>) and can be used in preprocessor
69expressions. 69expressions.
70 70
71For C<ptrdiff_t> and C<size_t> use C<stddef.h>. 71For C<ptrdiff_t> and C<size_t> use C<stddef.h>/C<cstddef>.
72 72
73=head2 LANGUAGE/ENVIRONMENT/COMPILER VERSIONS 73=head2 LANGUAGE/ENVIRONMENT/COMPILER VERSIONS
74 74
75All the following symbols expand to an expression that can be tested in 75All the following symbols expand to an expression that can be tested in
76preprocessor instructions as well as treated as a boolean (use C<!!> to 76preprocessor instructions as well as treated as a boolean (use C<!!> to
899899:1999) or any later version, while not claiming to be C++. 899899:1999) or any later version, while not claiming to be C++.
90 90
91Note that later versions (ECB_C11) remove core features again (for 91Note that later versions (ECB_C11) remove core features again (for
92example, variable length arrays). 92example, variable length arrays).
93 93
94=item ECB_C11 94=item ECB_C11, ECB_C17
95 95
96True if the implementation claims to be compliant to C11 (ISO/IEC 96True if the implementation claims to be compliant to C11/C17 (ISO/IEC
979899:2011) or any later version, while not claiming to be C++. 979899:2011, :20187) or any later version, while not claiming to be C++.
98 98
99=item ECB_CPP 99=item ECB_CPP
100 100
101True if the implementation defines the C<__cplusplus__> macro to a true 101True if the implementation defines the C<__cplusplus__> macro to a true
102value, which is typically true for C++ compilers. 102value, which is typically true for C++ compilers.
103 103
104=item ECB_CPP11 104=item ECB_CPP11, ECB_CPP14, ECB_CPP17
105 105
106True if the implementation claims to be compliant to ISO/IEC 14882:2011 106True if the implementation claims to be compliant to C++11/C++14/C++17
107(C++11) or any later version. 107(ISO/IEC 14882:2011, :2014, :2017) or any later version.
108 108
109=item ECB_GCC_VERSION (major, minor) 109=item ECB_GCC_VERSION (major, minor)
110 110
111Expands to a true value (suitable for testing in by the preprocessor) 111Expands to a true value (suitable for testing in by the preprocessor)
112if the compiler used is GNU C and the version is the given version, or 112if the compiler used is GNU C and the version is the given version, or

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines