[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with errno
From: |
Mettu Reddy |
Subject: |
Re: problems with errno |
Date: |
Wed, 27 Jun 2001 10:16:16 -0400 |
The temporary solution that I found out is by not including the header file
"errno.h". Because of this the g++ compiler does not managle the errno to
(int * __errno_location(void)) and leaves it as errno in the program.
Ram
"Mettu Reddy" <address@hidden> wrote in message
news:address@hidden
> All,
>
> I am using the errno variable defined in the <errno.h> and when I try to
> compile it with g++ 2.91.66 version compiler it gives a Undefined
refernece
> to `__errno_location(void)`. Can you please let me know if this is a bug
> with the version that I am using or if I am not including the correct
> library.
>
> Thanks in advance for any help,
> Ram
>
>
>