PATCH: c++tools: fix compilation
Guillaume Gomez
guillaume1.gomez@gmail.com
Thu Oct 20 16:33:40 GMT 2022
Hi,
This patch fixes the following compilation error:
../.././c++tools/server.cc: In function ‘void server(bool, int,
module_resolver*)’:
../.././c++tools/server.cc:756:69: error: ‘readers’ was not declared
in this scope; did you mean ‘read’?
756 | if (active < 0 && sock_fd >= 0 && FD_ISSET
(sock_fd, &readers))
|
^~~~~~~
It was missing a preprocessor condition around this code to work as
the "readers" variable
is created only in a preprocessor condition.
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-missing-preprocessor-condition-to-fix-c-tools-se.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20221020/72cef1ee/attachment.bin>
More information about the Jit
mailing list