On Wed, Nov 20, 2024 at 09:43:46PM +0530, AKASH MISHRA via Gcc-bugs wrote:
> Hi Team,
> there is a bug , compiler not reporting error or warning while calling a
> function with parentheses.
>
> For ex:
>
> void func()
> {
> printf("Hi i am in func");
> }
>
> main()
> {
> // call the func here wi
Hi Team,
there is a bug , compiler not reporting error or warning while calling a
function with parentheses.
For ex:
void func()
{
printf("Hi i am in func");
}
main()
{
// call the func here without parentheses
func; // here even though we miss parentheses, no error reported , neither
function