warning: conflicting types for built-in function %qD

2005-02-14 Thread Matt Austern
In the C front end, when diagnose_mismatched_decls sees a declaration of a function whose name is the same as a builtin's but whose types are different, we use the declaration we see but we issue a warning. For example: [isolde:tmp]$ cat foo.c extern double scalb ( double, int ); [isolde:tmp]$

Re: PATCH: TR1 unordered associative containers

2005-02-17 Thread Matt Austern
On Feb 17, 2005, at 4:18 PM, Joe Buck wrote: On Thu, Feb 17, 2005 at 03:47:03PM -0800, Matt Austern wrote: I'm sure there are still lots of horrible bugs, which will only be found with a more complete test suite. But the core functionality works, and at this point I think it'll improve

Re: PATCH: TR1 unordered associative containers

2005-02-17 Thread Matt Austern
On Feb 17, 2005, at 4:03 PM, Paolo Carlini wrote: Matt Austern wrote: OK to commit to mainline? ... before going to sleep, two very simple, slighlty less enthusiastic comments ;) 1- Please add 2005 to the copyrights. Fixed. 2- I see that the table of primes assumes that unsigned long is 32-bit

Re: PATCH: TR1 unordered associative containers

2005-02-17 Thread Matt Austern
On Feb 17, 2005, at 3:57 PM, Paolo Carlini wrote: Hi Matt, I'm sure there are still lots of horrible bugs, which will only be found with a more complete test suite. But the core functionality works, and at this point I think it'll improve faster in the CVS server than sitting on my hard disk

Re: PATCH: TR1 unordered associative containers

2005-02-18 Thread Matt Austern
On Feb 18, 2005, at 9:58 AM, R. D. Flowers wrote: If this is supposed to be a list of SOME primes, no problem. If it is supposed to be a list of ALL primes up to that size, YES a problem. It is supposed to be a list of some primes less than 2^32. A list of all primes up to that size would be too