Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: F5 - Macro function definition count as real function #40

Closed
Davphla opened this issue Mar 28, 2022 · 2 comments
Closed

[BUG]: F5 - Macro function definition count as real function #40

Davphla opened this issue Mar 28, 2022 · 2 comments
Assignees
Labels
bug Something isn't working verified When the issue as been tested as reproductible

Comments

@Davphla
Copy link
Contributor

Davphla commented Mar 28, 2022

What happened?

When using a macro on a function definition, it's counted as a real function, and await parameters type. Here it wait for a void parameter

Version

Yes

What OS are you seeing the problem on?

Debian based

Relevant output

void s_global(void)
{
    puts("Hello world !");
}
#define g_exit_status s_global() // Trigger F5
@Davphla Davphla added bug Something isn't working verification Checking if the bug can be reproduced labels Mar 28, 2022
@Just1truc
Copy link
Owner

part don?
dafuk

@Fyroeo Fyroeo added verified When the issue as been tested as reproductible and removed verification Checking if the bug can be reproduced labels Mar 28, 2022
@Fyroeo Fyroeo assigned Just1truc and unassigned Fyroeo Mar 28, 2022
@Just1truc
Copy link
Owner

Hi,

Thanks for your report. I've realised that i shouldn't count functions in header files anyway.

Have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified When the issue as been tested as reproductible
Projects
None yet
Development

No branches or pull requests

3 participants