[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build problems with afno



Hi Gert,

On Tue, Jan 07, 2014 at 07:22:19PM +0100, Gert Wollny wrote:
> Hello Andreas, 
> 
> in old incarnations of g++, a template declaration could come after the
> actual use of the template, but with new code, the template declaration
> must be available before the first instantiation, meaning: this
> declaration in line 55 must be moved before the actual use in line 48. 
> 
> > util.h:55:3: note: 'template<class T> T throw_errno_if_eq(T, T, const char*, const char*)' declared here, later in the translation unit
> >  T throw_errno_if_eq( T x, T y, const char* a, const char* b = 0 )
> >    ^
> 
> Hope that helps, tomorrow I could also dig into it and prepare a patch. 

A patch would be really welcome (I have some real life things on my todo
list this evening). 

Thanks in any case

       Andreas.

-- 
http://fam-tille.de


Reply to: