Closed MonicaLiu0311 closed 1 year ago
We do not appear to see this error when configuring with CMake on either Windows or any UN*X - it merely causes the header file to be written to the null device, as we don't care about any of Flex's output when doing that test, we just want to see whether it succeeds, or fails, trying to generate a scanner from scanner.l. See my comment in microsoft/vcpkg#34670.
Thanks for your reply, I will disable the parallel configure to try to resolve it.
As per this comment on microsoft/vcpkg#34670, this appears to be a WinFlex bug, which, as per my reply to that comment, may be fixed in the WinFlexBison repository but not in any release yet.
So not a libpcap bug.
Using the
flex
command with--header-file=NUL:
results in the following error:Changing to
--header-file=NULL
can solve the issue. For details, see: https://github.com/microsoft/vcpkg/pull/34670.