You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using single words as macro names can lead to obscure compilation errors. For example, the ev namespace in libev C++ library has constants named READ and WRITE. Defining macros with the same names makes these constants inaccessible.
libev has a C library too and there the ev::READ constant is called EV_READ. A similar emulation of namespaces is probably needed for libsocket.
Some macro names from libsocket code: READ, WRITE, TCP, UDP, STREAM, VERBOSE, BACKLOG, BOTH, NUMERIC.
The text was updated successfully, but these errors were encountered:
Using single words as macro names can lead to obscure compilation errors. For example, the ev namespace in libev C++ library has constants named READ and WRITE. Defining macros with the same names makes these constants inaccessible.
libev has a C library too and there the ev::READ constant is called EV_READ. A similar emulation of namespaces is probably needed for libsocket.
Some macro names from libsocket code: READ, WRITE, TCP, UDP, STREAM, VERBOSE, BACKLOG, BOTH, NUMERIC.
The text was updated successfully, but these errors were encountered: