This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/10872: the declaration of a function called 'exp' create conflit some builtin
- From: no_spam at no_email dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 19 May 2003 20:58:44 -0000
- Subject: c/10872: the declaration of a function called 'exp' create conflit some builtin
- Reply-to: no_spam at no_email dot com
>Number: 10872
>Category: c
>Synopsis: the declaration of a function called 'exp' create conflit some builtin
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 19 21:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: no_spam@no_email.com
>Release: gcc-3.3
>Organization:
>Environment:
linux 2.4.19-16mdk, t-bird 750, gcc-3.3 compiled on the machine
>Description:
% cat test.c
int exp(int i, int j)
{
return 0;
}
int main()
{
return exp(0, 1);
}
% gcc-3.3 test.c
test.c:2: attention : conflicting types for built-in function `exp'
% gcc-3.3 -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc-3.3/configure --program-suffix=-3.3
Thread model: posix
gcc version 3.3
>How-To-Repeat:
?
>Fix:
? don't know
>Release-Note:
>Audit-Trail:
>Unformatted: