Getting the error for srand48 and drand48 with gcc 4.3.0

Andrew Pinski pinskia@gmail.com
Mon Apr 21 17:25:00 GMT 2008


On Mon, Apr 21, 2008 at 5:56 AM, Snehalatha Rao <usneha@yahoo.com> wrote:
>  On including the header file stdlib.h the problem gets solved. What difference in header files between the two versions of the compiler is causing this problem? Is this a defect? Is there any workaound to this problem other than manipulating each and every file in the project?

Please read http://gcc.gnu.org/gcc-4.3/porting_to.html .

Thanks,
Andrew Pinski



More information about the Gcc-bugs mailing list