[PATCH] Fix gnu.ver, fix std::tr1::hash<long double> on {ppc,s390,sparc,alpha}*-linux

Jakub Jelinek jakub@redhat.com
Fri Feb 29 18:20:00 GMT 2008


On Fri, Feb 29, 2008 at 09:24:27AM -0800, Benjamin Kosnik wrote:
> Here is here is something that just takes care of this and the other
> issue you mentioned with the hash<error_code> export. 
> 
> Then the system_error stuff will be correct.
> 
> It's my suggestion to put this in and then deal clearly with the long
> double issue. Sound like a plan?

Almost perfect.
I think you should nuke the include/bits/functional_hash.h
namespace std
{
  struct error_code;

  template<>
    size_t
    hash<error_code>::operator()(error_code) const;
}

bits as well, in 4.3 std::error_code isn't defined anywhere.

Once you commit, I'll adjust the long double patch and post it.

	Jakub



More information about the Gcc-patches mailing list