2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
This commit is contained in:
parent
73b65bb069
commit
04ed252fc1
@ -1,3 +1,7 @@
|
|||||||
|
2003-09-08 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
|
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
|
||||||
|
|
||||||
2003-09-07 Michael Chastain <mec@shout.net>
|
2003-09-07 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
* gdb.cp/classes.exp: Accommodate both 'syntax error' and
|
* gdb.cp/classes.exp: Accommodate both 'syntax error' and
|
||||||
|
@ -25,7 +25,11 @@
|
|||||||
|
|
||||||
int global = 0;
|
int global = 0;
|
||||||
|
|
||||||
void gamma (int *parray)
|
/* Foo, gcc thinks 'gamma' is a reserved identifier.
|
||||||
|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12213
|
||||||
|
I am not interested in testing that point so just avoid the word.
|
||||||
|
-- chastain 2003-09-08. */
|
||||||
|
void my_gamma (int *parray)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -37,7 +41,7 @@ void beta ()
|
|||||||
array [1] = global++;
|
array [1] = global++;
|
||||||
array [2] = global++;
|
array [2] = global++;
|
||||||
array [3] = global++;
|
array [3] = global++;
|
||||||
gamma (array);
|
my_gamma (array);
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user