------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-26 
19:41 -------
Because one file uses K&R style function defintions and the other uses a 
prototype which is ANSI/ISO 
style.

Simple example:
file1.c:
int f(int);
---
file2.c:
int f(a)
int a;
{
  return a;
}
---
Compile it as:
gcc file2.c file1.c -combine


So this about the following:
int f(a)
int a;
{
  return a;
}
int f(int);

Which is questionable.

So I don't think this is not an inappropriate warning.


--------------------------------------------
As an aside, I wish people would stop using K&R style C already.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24068

Reply via email to