http://d.puremagic.com/issues/show_bug.cgi?id=1102 ------- Comment #1 from bugzilla at digitalmars.com 2007-04-06 02:12 ------- uint XX(){ return (a*256+c);} should be: static uint XX(){ return (a*256+c);} as non-static member functions cannot be evaluated at compile time. --