HEADS DOWN

Sean C. Farley sean-freebsd at farley.org
Sat May 12 22:07:13 UTC 2007


On Sat, 12 May 2007, Alexander Leidinger wrote:

> Quoting "Sean C. Farley" <sean-freebsd at farley.org> (from Fri, 11 May 2007 
> 18:21:09 -0500 (CDT)):
>
>> It seems that __attribute__((pure)) is not supported by the Intel
>> compiler.  Would my strlen() be of any use when libc is compiled with
>> it?
>
> That's one reason we have cdefs.h, so you can use appropriate macros
> instead of using __attribute__((foo)) directly.

Actually, what I meant was that strlen() has the pure attribute via
__pure, and cdefs.h shows that the Intel compiler is not able to make
use of it.

Sean
-- 
sean-freebsd at farley.org


More information about the freebsd-arch mailing list