"Definition differs from the declaration in the return type " build failure(s)
clang 3.3
For some reasons, clang refuses the following syntax while g++ accepts it:
#include <streambuf>
struct S { typedef int fd_type; };
template  class A : public std::basic_streambuf, public S
{ fd_type& foo(); };
template  typename A::fd_type& A::foo()
{ return NULL; }
| Package | Version | Supposed error message | Full log | 
Bug report | 
|  eq10q  | 1.2-2 | pstream.h:1820:28: error: out-of-line definition of 'redi::basic_pstreambuf::wpipe' differs from the declaration in the return type
  | Log | 
 | 
             
|  pdf2djvu  | 0.7.17-2 | pstream.h:1820:28: error: out-of-line definition of 'redi::basic_pstreambuf::wpipe' differs from the declaration in the return type
  | Log | 
 | 
             
|  undertaker  | 1.3b-1 | pstream.h:1820:28: error: out-of-line definition of 'redi::basic_pstreambuf::wpipe' differs from the declaration in the return type
  | Log | 
 | 
             
3 errors