We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using settings certain C compiler settings, test programs meson attempts to compile can fail due to missing newlines at EOF
To Reproduce Example meson.build:
project('myproject', 'c') executable('myexecutable', 'main.c') cc = meson.get_compiler('c') sizeof_int = cc.sizeof('int')
Run meson with strict compiler settings: CC=clang CFLAGS="--std=c99 --pedantic-errors" meson setup build --wipe
CC=clang CFLAGS="--std=c99 --pedantic-errors" meson setup build --wipe
sizeof_int will be -1 in this case, because a compile of a test program failed due to missing newline.
Expected behavior Meson test programs compile as expected.
system parameters Fedora Linux 40 Python 3.12.6 meson 1.4.1 ninja 1.12.1
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
When using settings certain C compiler settings, test programs meson attempts to compile can fail due to missing newlines at EOF
To Reproduce
Example meson.build:
Run meson with strict compiler settings:
CC=clang CFLAGS="--std=c99 --pedantic-errors" meson setup build --wipe
sizeof_int will be -1 in this case, because a compile of a test program failed due to missing newline.
Expected behavior
Meson test programs compile as expected.
system parameters
Fedora Linux 40
Python 3.12.6
meson 1.4.1
ninja 1.12.1
The text was updated successfully, but these errors were encountered: