This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]