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

Comparing libecb/ecb.pod (file contents):
Revision 1.56 by root, Mon Jun 9 17:31:57 2014 UTC vs.
Revision 1.57 by root, Thu Oct 16 14:47:20 2014 UTC

104=item ECB_CPP11 104=item ECB_CPP11
105 105
106True if the implementation claims to be compliant to ISO/IEC 14882:2011 106True if the implementation claims to be compliant to ISO/IEC 14882:2011
107(C++11) or any later version. 107(C++11) 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
113higher. 113higher.
114 114
185 185
186=over 4 186=over 4
187 187
188=item ecb_attribute ((attrs...)) 188=item ecb_attribute ((attrs...))
189 189
190A simple wrapper that expands to C<__attribute__((attrs))> on GCC, and to 190A simple wrapper that expands to C<__attribute__((attrs))> on GCC 3.1+ and
191nothing on other compilers, so the effect is that only GCC sees these. 191Clang 2.8+, and to nothing on other compilers, so the effect is that only
192GCC and Clang see these.
192 193
193Example: use the C<deprecated> attribute on a function. 194Example: use the C<deprecated> attribute on a function.
194 195
195 ecb_attribute((__deprecated__)) void 196 ecb_attribute((__deprecated__)) void
196 do_not_use_me_anymore (void); 197 do_not_use_me_anymore (void);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines