ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/compiler.h
(Generate patch)

Comparing deliantra/server/include/compiler.h (file contents):
Revision 1.11 by root, Tue Apr 26 14:41:35 2011 UTC vs.
Revision 1.12 by root, Thu May 26 16:11:21 2011 UTC

50#endif 50#endif
51 51
52#define func_const attribute ((const)) 52#define func_const attribute ((const))
53#define func_pure attribute ((pure)) 53#define func_pure attribute ((pure))
54#define func_hot attribute ((hot)) // 4.x 54#define func_hot attribute ((hot)) // 4.x
55#define func_cold attribute ((cold) // 4.x 55#define func_cold attribute ((cold)) // 4.x
56 56
57#if GCC_VERSION(4,5) 57#if GCC_VERSION(4,5)
58# define unreachable() __builtin_unreachable () 58# define unreachable() __builtin_unreachable ()
59#else 59#else
60 // this seems to work fine, but gcc always emits a warning for it :/ 60 // this seems to work fine, but gcc always emits a warning for it :/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines