Re: scallyweg: ‘strcasecmp’ was not declared in this scope

Jon Turney jon.turney@dronecode.org.uk
Thu Feb 29 16:58:55 GMT 2024


On 29/02/2024 06:21, Marco Atzeri via Cygwin-apps wrote:
> Hi Jon,
> 
> I have a strange case with nco
> 
> https://github.com/cygwin/scallywag/actions/runs/8060036334/job/22015501908
> 
> While Scallyweg complains about ‘strcasecmp’ scope,
> local build runs fine.
> I saw the same also on previous build
> 
> Can you check ?

I can reproduce the build failure locally.

 From a brief inspection, this seems to make sense: strcasecmp is 
unconditionally defined by strings.h, which doesn't seem to be included 
anywhere in antlr.

(There's maybe some way it gets indirectly included, maybe via string.h 
if __BSD_VISIBLE, but perhaps that's due to some local flags settings?)



More information about the Cygwin-apps mailing list