Closed nektro closed 10 months ago
I assume this is a typo. The author must have meant the #warning
directive. Isn't it?
https://gcc.gnu.org/onlinedocs/cpp/Diagnostics.html
yes, there is #error
and #warning
.
Known issue, will fix, however the real problem is that VERSION is not defined. This used to happen when using tarballs from github.
Are you sure this happens on master?
That was my bad then, at the time I was writing a custom build script and just totally missed that defining VERSION
would've fixed it.
That was my bad then, at the time I was writing a custom build script and just totally missed that defining
VERSION
would've fixed it.
No worries.
I know of the bogus #warn but left it there so I can catch the undefined VERSION problem, it used to be happening quite often.
Cheers...
77fb75287a17f0c55728eb80ababfaf1a50ca36d fixes that.
https://github.com/pantoniou/libfyaml/blob/cd04f85/src/lib/fy-parse.c#L40