[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
errno bug?
From: |
E. Robert Tisdale |
Subject: |
errno bug? |
Date: |
Tue, 05 Oct 2004 23:56:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 |
> cat main.cc
#include <stdio.h>
#include <errno.h>
extern int errno;
int main(int argc, char* argv[]) {
return 0;
}
> g++ -Wall -ansi -pedantic -o main main.cc
main.cc:4: error: declaration of `int* __errno_location()' \
throws different exceptions
/usr/include/bits/errno.h:38: error: \
than previous declaration `int* __errno_location() throw ()'
> g++ --version
g++ (GCC) 3.4.1
> cat /etc/fedora-release
Fedora Core release 2 (Tettnang)
- errno bug?,
E. Robert Tisdale <=
- Re: errno bug?, Maurizio Loreti, 2004/10/06
- Re: errno bug?, Thomas Maeder, 2004/10/06
- Re: errno bug?, Maurizio Loreti, 2004/10/06
- Re: errno bug?, E. Robert Tisdale, 2004/10/06
- Re: errno bug?, Thomas Maeder, 2004/10/06
- Re: errno bug?, E. Robert Tisdale, 2004/10/06
- Re: errno bug?, Ross Smith, 2004/10/07
- Re: errno bug?, E. Robert Tisdale, 2004/10/07
- Re: errno bug?, Ulrich Eckhardt, 2004/10/07