Re: The gcc compiler detects functions in the C binary search program by default

2019-12-28 Thread caipenghui
Oh my god, this is a low-level mistake, not funny 8-0.. caipenghui 在 2019/12/29 10:50, Andrew Pinski 写道: On Sat, Dec 28, 2019 at 6:31 PM caipenghui wrote: hello everyone, I found that gcc version 9.2.1 20191008, i to compiles a binary search algorithm program that I write that only

The gcc compiler detects functions in the C binary search program by default

2019-12-28 Thread caipenghui
hello everyone, I found that gcc version 9.2.1 20191008, i to compiles a binary search algorithm program that I write that only checks the function prototype, but does not check the name after the definition? / * binary bearch * / #include int bsearch(int x, int a[], int n); int main(void)