c/10872: the declaration of a function called 'exp' create conflit some builtin

no_spam@no_email.com
Newsgroups gmane.comp.gcc.prs
Message-ID <20030519205844.27858.qmail__3545.29696419394$1053378330@sources.redhat.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:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.