-documentation

-erro message
This commit is contained in:
Alex 2023-12-11 16:21:19 -08:00
parent 1e6f877777
commit 9921b74e6d
2 changed files with 3 additions and 1 deletions

View File

@ -503,6 +503,8 @@ The program name that is sent out in the broadcast messages can be customized by
By default, the Tracy client will listen on all network interfaces. If you want to restrict it to only listening on the localhost interface, define the \texttt{TRACY\_ONLY\_LOCALHOST} macro at compile-time, or set the \texttt{TRACY\_ONLY\_LOCALHOST} environment variable to $1$ at runtime. By default, the Tracy client will listen on all network interfaces. If you want to restrict it to only listening on the localhost interface, define the \texttt{TRACY\_ONLY\_LOCALHOST} macro at compile-time, or set the \texttt{TRACY\_ONLY\_LOCALHOST} environment variable to $1$ at runtime.
If you need to use a specific Tracy client address, such as QNX requires, define the \texttt{TRACY\_CLIENT\_ADDRESS} macro at compile-time as the desired string address, or set the \texttt{TRACY\_ONLY\_LOCALHOST} environment variable to the desired string address at runtime.
By default, the Tracy client will listen on IPv6 interfaces, falling back to IPv4 only if IPv6 is unavailable. If you want to restrict it to only listening on IPv4 interfaces, define the \texttt{TRACY\_ONLY\_IPV4} macro at compile-time, or set the \texttt{TRACY\_ONLY\_IPV4} environment variable to $1$ at runtime. By default, the Tracy client will listen on IPv6 interfaces, falling back to IPv4 only if IPv6 is unavailable. If you want to restrict it to only listening on IPv4 interfaces, define the \texttt{TRACY\_ONLY\_IPV4} macro at compile-time, or set the \texttt{TRACY\_ONLY\_IPV4} environment variable to $1$ at runtime.
\subsubsection{Setup for multi-DLL projects} \subsubsection{Setup for multi-DLL projects}

View File

@ -1736,7 +1736,7 @@ void Profiler::Worker()
# elif defined __QNX__ # elif defined __QNX__
// global broadcast address of 255.255.255.255 is not well-supported by QNX, // global broadcast address of 255.255.255.255 is not well-supported by QNX,
// use the interface broadcast address instead, e.g. "const char* addr = 192.168.1.255;" // use the interface broadcast address instead, e.g. "const char* addr = 192.168.1.255;"
# error Need to set an appropriate broadcast address for a QNX target. # error Need to specify TRACY_CLIENT_ADDRESS for a QNX target.
# else # else
const char* addr = "255.255.255.255"; const char* addr = "255.255.255.255";
# endif # endif