-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Build fails with Meson 0.60.0 #121
Comments
Ah thanks for letting me know.
Definitely a good move. Seems an odd design choice to accept compositions of strings and ints, but not booleans. I'd have to imagine that's an oversight. |
Will be fixed in mesonbuild/meson#9447 :) |
Awesome, thanks @Tachi107. I've pushed an interim fix to use |
Nice solution, thanks! |
This issue otherwise breaks compilation under Meson 0.60.0: marzer/tomlplusplus#121
Since this is related only to the build system, I'm skipping the issue template.
In the meson.build file, a message is printed describing the status of the build (host cpu, os, release, etc...). Those messages are printed by passing an array to
message()
, even if according to the documentation you can only pass it one or more strings.In previous versions of Meson this did not cause any issue, as the array was flattened and booleans were converted to strings, but this does not seem true anymore; the following lines cause Meson to throw an error saying "Function accepts only strings, integers, lists, dictionaries and lists thereof.".
tomlplusplus/meson.build
Lines 49 to 52 in ca76e5d
Since the documentation does not mention the possibility of passing booleans to
message()
this could be considered an issue of tomlplusplus' meson.build file, but this started happening only with this latest release, and I'm going to report it upstream as well.The text was updated successfully, but these errors were encountered: