../common/JackEngineProfiling.cpp: In constructor ‘Jack::JackEngineProfiling::JackEngineProfiling()’:
../common/JackEngineProfiling.cpp:39:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jack::JackTimingMeasure’; use assignment or value-initialization instead [-Wclass-memaccess]
   39 |     memset(fProfileTable, 0, sizeof(fProfileTable));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackEngineProfiling.cpp:20:
../common/JackEngineProfiling.h:84:8: note: ‘struct Jack::JackTimingMeasure’ declared here
   84 | struct JackTimingMeasure
      |        ^~~~~~~~~~~~~~~~~

../common/JackDebugClient.cpp: In member function ‘virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)’:
../common/JackDebugClient.cpp:94:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=]
   94 |     snprintf(provstr, sizeof(provstr), "JackClientDebug-%s-%s.log", name, buffer);
      |                                                            ^~             ~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/15.2.0/cstdio:47,
                 from /usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from /usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from /usr/include/c++/15.2.0/string:56,
                 from /usr/include/c++/15.2.0/stdexcept:41,
                 from ../common/JackException.h:25,
                 from ../posix/JackPosixMutex.h:25,
                 from ../linux/JackPlatformPlug_os.h:44,
                 from ../common/JackPlatformPlug.h:23,
                 from ../common/JackClient.h:28,
                 from ../common/JackDebugClient.h:25,
                 from ../common/JackDebugClient.cpp:20:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)’ at ../common/JackDebugClient.cpp:94:13:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 22 or more bytes (assuming 277) into a destination of size 256
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~

../common/JackGenericClientChannel.cpp: In member function ‘virtual void Jack::JackGenericClientChannel::GetUUIDForClientName(int, const char*, char*, int*)’:
../common/JackGenericClientChannel.cpp:232:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
  232 |     strncpy(uuid_res, res.fUUID, JACK_UUID_SIZE);
      |            ^
../common/JackGenericClientChannel.cpp: In member function ‘virtual void Jack::JackGenericClientChannel::GetClientNameForUUID(int, const char*, char*, int*)’:
../common/JackGenericClientChannel.cpp:240:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
  240 |     strncpy(name_res, res.fName, JACK_CLIENT_NAME_SIZE);
      |            ^

../common/JackFrameTimer.cpp: In member function ‘void Jack::JackFrameTimer::ReadFrameTime(Jack::JackTimer*)’:
../common/JackFrameTimer.cpp:147:15: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackTimer’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  147 |         memcpy(timer, ReadCurrentState(), sizeof(JackTimer));
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackFrameTimer.cpp:21:
../common/JackFrameTimer.h:36:21: note: ‘class Jack::JackTimer’ declared here
   36 | class SERVER_EXPORT JackTimer
      |                     ^~~~~~~~~
In file included from ../common/JackFrameTimer.h:24:
../common/JackAtomicState.h: In instantiation of ‘UInt32 Jack::JackAtomicState::WriteNextStateStartAux() [with T = Jack::JackTimer; UInt32 = unsigned int]’:
../common/JackAtomicState.h:197:35:   required from ‘T* Jack::JackAtomicState::WriteNextStateStart() [with T = Jack::JackTimer]’
  197 |                                 ? WriteNextStateStartAux()
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
../common/JackFrameTimer.cpp:128:47:   required from here
  128 |         JackTimer* timer = WriteNextStateStart();
      |                            ~~~~~~~~~~~~~~~~~~~^~
../common/JackAtomicState.h:116:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackTimer’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackFrameTimer.h:36:21: note: ‘class Jack::JackTimer’ declared here
   36 | class SERVER_EXPORT JackTimer
      |                     ^~~~~~~~~

../common/JackGraphManager.cpp: In member function ‘void Jack::JackGraphManager::Save(Jack::JackConnectionManager*)’:
../common/JackGraphManager.cpp:904:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackConnectionManager’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  904 |     memcpy(dst, manager, sizeof(JackConnectionManager));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackGraphManager.h:27,
                 from ../common/JackGraphManager.cpp:21:
../common/JackConnectionManager.h:411:21: note: ‘class Jack::JackConnectionManager’ declared here
  411 | class SERVER_EXPORT JackConnectionManager
      |                     ^~~~~~~~~~~~~~~~~~~~~
../common/JackGraphManager.cpp: In member function ‘void Jack::JackGraphManager::Restore(Jack::JackConnectionManager*)’:
../common/JackGraphManager.cpp:912:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackConnectionManager’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  912 |     memcpy(manager, src, sizeof(JackConnectionManager));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackConnectionManager.h:411:21: note: ‘class Jack::JackConnectionManager’ declared here
  411 | class SERVER_EXPORT JackConnectionManager
      |                     ^~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackGraphManager.h:28:
../common/JackAtomicState.h: In instantiation of ‘UInt32 Jack::JackAtomicState::WriteNextStateStartAux() [with T = Jack::JackConnectionManager; UInt32 = unsigned int]’:
../common/JackAtomicState.h:197:35:   required from ‘T* Jack::JackAtomicState::WriteNextStateStart() [with T = Jack::JackConnectionManager]’
  197 |                                 ? WriteNextStateStartAux()
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
../common/JackGraphManager.cpp:91:57:   required from here
   91 |     JackConnectionManager* manager = WriteNextStateStart();
      |                                      ~~~~~~~~~~~~~~~~~~~^~
../common/JackAtomicState.h:116:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackConnectionManager’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackConnectionManager.h:411:21: note: ‘class Jack::JackConnectionManager’ declared here
  411 | class SERVER_EXPORT JackConnectionManager
      |                     ^~~~~~~~~~~~~~~~~~~~~

../common/JackPort.cpp: In member function ‘int Jack::JackPort::GetAliases(char* const*)’:
../common/JackPort.cpp:257:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
  257 |         strncpy(aliases[0], fAlias1, REAL_JACK_PORT_NAME_SIZE);
      |                ^
../common/JackPort.cpp:262:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
  262 |         strncpy(aliases[1], fAlias2, REAL_JACK_PORT_NAME_SIZE);
      |                ^
../common/JackPort.cpp: In member function ‘int Jack::JackPort::SetAlias(const char*)’:
../common/JackPort.cpp:274:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 321 equals destination size [-Wstringop-truncation]
  274 |         strncpy(fAlias2, alias, sizeof(fAlias2));
      |                ^
../common/JackPort.cpp:272:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 321 equals destination size [-Wstringop-truncation]
  272 |         strncpy(fAlias1, alias, sizeof(fAlias1));
      |                ^

../common/JackDriverLoader.cpp: In function ‘void jack_print_driver_options(jack_driver_desc_t*, FILE*)’:
../common/JackDriverLoader.cpp:104:43: warning: the address of ‘jack_driver_param_value_t::str’ will never be NULL [-Waddress]
  104 |                 if (desc->params[i].value.str && strcmp (desc->params[i].value.str, "") != 0) {
      |                     ~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from ../common/JackDriverLoader.h:24,
                 from ../common/JackDriverLoader.cpp:22:
../common/driver_interface.h:69:10: note: ‘jack_driver_param_value_t::str’ declared here
   69 |     char str[JACK_DRIVER_PARAM_STRING_MAX + 1];
      |          ^~~
../common/JackDriverLoader.cpp: In function ‘jack_driver_desc_t* jack_get_descriptor(JSList*, const file_char_t*, const char*, const file_char_t*)’:
../common/JackDriverLoader.cpp:491:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation]
  491 |     strncpy(descriptor->file, filename, JACK_PATH_MAX);
      |            ^

In file included from ../common/JackInternalClient.h:24,
                 from ../common/JackServerAPI.cpp:23:
../common/JackClient.h:219:14: warning: ‘virtual bool Jack::JackClient::Init()’ was hidden [-Woverloaded-virtual=]
  219 |         bool Init();
      |              ^~~~
../common/JackInternalClient.h:84:21: note:   by ‘virtual int Jack::JackLoadableInternalClient::Init(const char*)’
   84 |         virtual int Init(const char* so_name);
      |                     ^~~~

In file included from ../common/JackConnectionManager.cpp:20:
../common/JackConnectionManager.h: In instantiation of ‘const jack_int_t* Jack::JackFixedArray::GetItems() const [with int SIZE = 2048; jack_int_t = short unsigned int]’:
../common/JackConnectionManager.cpp:131:44:   required from here
  131 |     return fConnection[port_index].GetItems();
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../common/JackConnectionManager.h:103:20: warning: taking address of packed member of ‘Jack::JackFixedArray<2048>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  103 |             return fTable;
      |                    ^~~~~~
../common/JackConnectionManager.h: In instantiation of ‘const jack_int_t* Jack::JackFixedMatrix::GetItems(jack_int_t) const [with int SIZE = 256; jack_int_t = short unsigned int]’:
../common/JackConnectionManager.cpp:254:59:   required from here
  254 |     const jack_int_t* output_ref = fConnectionRef.GetItems(control->fRefNum);
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
../common/JackConnectionManager.h:186:26: warning: taking address of packed member of ‘Jack::JackFixedMatrix<256>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  186 |             return fTable[index];
      |                    ~~~~~~^

../common/JackClient.cpp: In member function ‘virtual int Jack::JackClient::SessionReply(jack_session_event_t*)’:
../common/JackClient.cpp:1294:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation]
 1294 |         strncpy(GetClientControl()->fSessionCommand, ev->command_line, sizeof(GetClientControl()->fSessionCommand));
      |                ^

In file included from ../common/JackInternalClient.h:24,
                 from ../common/JackServer.cpp:33:
../common/JackClient.h:219:14: warning: ‘virtual bool Jack::JackClient::Init()’ was hidden [-Woverloaded-virtual=]
  219 |         bool Init();
      |              ^~~~
../common/JackInternalClient.h:84:21: note:   by ‘virtual int Jack::JackLoadableInternalClient::Init(const char*)’
   84 |         virtual int Init(const char* so_name);
      |                     ^~~~
In file included from ../common/JackServer.cpp:31:
../common/JackEngineControl.h: In constructor ‘Jack::JackServer::JackServer(bool, bool, int, bool, int, int, bool, jack_timer_type_t, char, const char*)’:
../common/JackEngineControl.h:124:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 257 equals destination size [-Wstringop-truncation]
  124 |         strncpy(fServerName, server_name, sizeof(fServerName));
      |                ^

In file included from ../common/JackInternalClient.h:24,
                 from ../common/JackInternalClient.cpp:25:
../common/JackClient.h:219:14: warning: ‘virtual bool Jack::JackClient::Init()’ was hidden [-Woverloaded-virtual=]
  219 |         bool Init();
      |              ^~~~
../common/JackInternalClient.h:84:21: note:   by ‘virtual int Jack::JackLoadableInternalClient::Init(const char*)’
   84 |         virtual int Init(const char* so_name);
      |                     ^~~~
../common/JackInternalClient.cpp: In member function ‘virtual int Jack::JackInternalClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)’:
../common/JackInternalClient.cpp:98:36: warning: taking address of packed member of ‘Jack::JackClientControl’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   98 |     fChannel->ClientOpen(name_res, &fClientControl.fRefNum, &fEngineControl, &fGraphManager, this, &result);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~
../common/JackInternalClient.cpp: In constructor ‘Jack::JackLoadableInternalClient1::JackLoadableInternalClient1(Jack::JackServer*, Jack::JackSynchro*, const char*)’:
../common/JackInternalClient.cpp:201:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
  201 |         strncpy(fObjectData, object_data, JACK_LOAD_INIT_LIMIT);
      |                ^

In file included from ../common/JackClientControl.h:24,
                 from ../common/JackExternalClient.cpp:22:
In member function ‘int Jack::JackShmMemAble::GetShmIndex()’,
    inlined from ‘int Jack::JackExternalClient::Open(const char*, int, int, jack_uuid_t, int*)’ at ../common/JackExternalClient.cpp:63:49:
../common/JackShmMem.h:60:26: warning: ‘*.Jack::JackShmMemAble::fInfo._jack_shm_info::index’ may be used uninitialized [-Wmaybe-uninitialized]
   60 |             return fInfo.index;
      |                    ~~~~~~^~~~~

In file included from ../common/JackMidiDriver.h:23,
                 from ../common/JackMidiDriver.cpp:21:
../common/JackDriver.h:206:21: warning: ‘virtual int Jack::JackDriver::Open(jack_nframes_t, jack_nframes_t, bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’ was hidden [-Woverloaded-virtual=]
  206 |         virtual int Open(jack_nframes_t buffer_size,
      |                     ^~~~
../common/JackMidiDriver.h:60:21: note:   by ‘virtual int Jack::JackMidiDriver::Open(bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’
   60 |         virtual int Open(bool capturing,
      |                     ^~~~
../common/JackDriver.h:204:21: warning: ‘virtual int Jack::JackDriver::Open()’ was hidden [-Woverloaded-virtual=]
  204 |         virtual int Open();
      |                     ^~~~
../common/JackMidiDriver.h:60:21: note:   by ‘virtual int Jack::JackMidiDriver::Open(bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’
   60 |         virtual int Open(bool capturing,
      |                     ^~~~

In file included from ../common/JackInternalClient.h:24,
                 from ../common/JackEngine.cpp:29:
../common/JackClient.h:219:14: warning: ‘virtual bool Jack::JackClient::Init()’ was hidden [-Woverloaded-virtual=]
  219 |         bool Init();
      |              ^~~~
../common/JackInternalClient.h:84:21: note:   by ‘virtual int Jack::JackLoadableInternalClient::Init(const char*)’
   84 |         virtual int Init(const char* so_name);
      |                     ^~~~
../common/JackEngine.cpp: In member function ‘int Jack::JackEngine::GetInternalClientName(int, char*)’:
../common/JackEngine.cpp:442:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
  442 |     strncpy(name_res, client->GetClientControl()->fName, JACK_CLIENT_NAME_SIZE);
      |            ^
In file included from ../common/JackEngine.h:29,
                 from ../common/JackLockedEngine.h:23,
                 from ../common/JackEngine.cpp:27:
../common/JackRequest.h: In member function ‘void Jack::JackEngine::SessionNotify(int, const char*, jack_session_event_type_t, const char*, Jack::detail::JackChannelTransactionInterface*, Jack::JackSessionNotifyResult**)’:
../common/JackRequest.h:1256:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
 1256 |         strncpy(fUUID, uuid, sizeof(fUUID)-1);
      |                ^
../common/JackRequest.h:1257:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
 1257 |         strncpy(fClientName, clientname, sizeof(fClientName)-1);
      |                ^
../common/JackRequest.h: In member function ‘int Jack::JackEngine::SessionReply(int)’:
../common/JackRequest.h:1256:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
 1256 |         strncpy(fUUID, uuid, sizeof(fUUID)-1);
      |                ^
../common/JackRequest.h:1257:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
 1257 |         strncpy(fClientName, clientname, sizeof(fClientName)-1);
      |                ^
../common/JackEngine.cpp: In member function ‘int Jack::JackEngine::GetClientNameForUUID(const char*, char*)’:
../common/JackEngine.cpp:1228:20: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
 1228 |             strncpy(name_res, client->GetClientControl()->fName, JACK_CLIENT_NAME_SIZE);
      |                    ^

../posix/JackSocket.cpp: In function ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’:
../posix/JackSocket.cpp:40:42: warning: ‘%s’ directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
   40 |             snprintf(res, size, "%s/jack_%s_%d_%d", dir, ext_client_name, JackTools::GetUID(), which);
      |                                          ^~              ~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/15.2.0/cstdio:47,
                 from /usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from /usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from /usr/include/c++/15.2.0/string:56,
                 from ../common/JackTools.h:42,
                 from ../posix/JackSocket.cpp:22:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’ at ../posix/JackSocket.cpp:40:14:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 267) into a destination of size 108
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../posix/JackSocket.cpp: In function ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’:
../posix/JackSocket.cpp:38:42: warning: ‘%s’ directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
   38 |             snprintf(res, size, "%s/jack_%s_%d", dir, ext_client_name, which);
      |                                          ^~           ~~~~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’ at ../posix/JackSocket.cpp:38:14:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 265) into a destination of size 108
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../posix/JackSocket.cpp: In member function ‘int Jack::JackServerSocket::Bind(const char*, const char*, int)’:
../posix/JackSocket.cpp:278:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 107 bytes from a string of length 255 [-Wstringop-truncation]
  278 |     strncpy(addr.sun_path, fName, sizeof(addr.sun_path) - 1);
      |            ^

../common/shm.c: In function ‘jack_shmalloc’:
../common/shm.c:892:9: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
  892 |         strncpy (registry->id, name, sizeof (registry->id));
      |         ^

../dbus/controller_iface_session_manager.c: In function ‘jack_controller_process_session_command_thread’:
../dbus/controller_iface_session_manager.c:223:9: warning: ‘jack_session_commands_free’ is deprecated [-Wdeprecated-declarations]
  223 |         jack_session_commands_free(commands);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../dbus/controller_internal.h:28,
                 from ../dbus/controller_iface_session_manager.c:31:
../common/jack/session.h:266:6: note: declared here
  266 | void jack_session_commands_free (jack_session_command_t *cmds) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../dbus/controller_iface_session_manager.c: In function ‘jack_controller_dbus_has_session_callback’:
../dbus/controller_iface_session_manager.c:455:5: warning: ‘jack_client_has_session_callback’ is deprecated [-Wdeprecated-declarations]
  455 |     ret = jack_client_has_session_callback(controller_ptr->client, client_name);
      |     ^~~
../common/jack/session.h:293:1: note: declared here
  293 | jack_client_has_session_callback (jack_client_t *client, const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../common/JackConnectionManager.cpp:20:
../common/JackConnectionManager.h: In instantiation of ‘const jack_int_t* Jack::JackFixedArray::GetItems() const [with int SIZE = 2048; jack_int_t = short unsigned int]’:
../common/JackConnectionManager.cpp:131:44:   required from here
  131 |     return fConnection[port_index].GetItems();
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../common/JackConnectionManager.h:103:20: warning: taking address of packed member of ‘Jack::JackFixedArray<2048>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  103 |             return fTable;
      |                    ^~~~~~
../common/JackConnectionManager.h: In instantiation of ‘const jack_int_t* Jack::JackFixedMatrix::GetItems(jack_int_t) const [with int SIZE = 256; jack_int_t = short unsigned int]’:
../common/JackConnectionManager.cpp:254:59:   required from here
  254 |     const jack_int_t* output_ref = fConnectionRef.GetItems(control->fRefNum);
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
../common/JackConnectionManager.h:186:26: warning: taking address of packed member of ‘Jack::JackFixedMatrix<256>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  186 |             return fTable[index];
      |                    ~~~~~~^

../common/JackDebugClient.cpp: In member function ‘virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)’:
../common/JackDebugClient.cpp:94:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=]
   94 |     snprintf(provstr, sizeof(provstr), "JackClientDebug-%s-%s.log", name, buffer);
      |                                                            ^~             ~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/15.2.0/cstdio:47,
                 from /usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from /usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from /usr/include/c++/15.2.0/string:56,
                 from /usr/include/c++/15.2.0/stdexcept:41,
                 from ../common/JackException.h:25,
                 from ../posix/JackPosixMutex.h:25,
                 from ../linux/JackPlatformPlug_os.h:44,
                 from ../common/JackPlatformPlug.h:23,
                 from ../common/JackClient.h:28,
                 from ../common/JackDebugClient.h:25,
                 from ../common/JackDebugClient.cpp:20:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)’ at ../common/JackDebugClient.cpp:94:13:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 22 or more bytes (assuming 277) into a destination of size 256
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~

../common/shm.c: In function ‘jack_shmalloc’:
../common/shm.c:892:9: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
  892 |         strncpy (registry->id, name, sizeof (registry->id));
      |         ^

../common/JackGraphManager.cpp: In member function ‘void Jack::JackGraphManager::Save(Jack::JackConnectionManager*)’:
../common/JackGraphManager.cpp:904:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackConnectionManager’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  904 |     memcpy(dst, manager, sizeof(JackConnectionManager));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackGraphManager.h:27,
                 from ../common/JackGraphManager.cpp:21:
../common/JackConnectionManager.h:411:21: note: ‘class Jack::JackConnectionManager’ declared here
  411 | class SERVER_EXPORT JackConnectionManager
      |                     ^~~~~~~~~~~~~~~~~~~~~
../common/JackGraphManager.cpp: In member function ‘void Jack::JackGraphManager::Restore(Jack::JackConnectionManager*)’:
../common/JackGraphManager.cpp:912:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackConnectionManager’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  912 |     memcpy(manager, src, sizeof(JackConnectionManager));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackConnectionManager.h:411:21: note: ‘class Jack::JackConnectionManager’ declared here
  411 | class SERVER_EXPORT JackConnectionManager
      |                     ^~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackGraphManager.h:28:
../common/JackAtomicState.h: In instantiation of ‘UInt32 Jack::JackAtomicState::WriteNextStateStartAux() [with T = Jack::JackConnectionManager; UInt32 = unsigned int]’:
../common/JackAtomicState.h:197:35:   required from ‘T* Jack::JackAtomicState::WriteNextStateStart() [with T = Jack::JackConnectionManager]’
  197 |                                 ? WriteNextStateStartAux()
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
../common/JackGraphManager.cpp:91:57:   required from here
   91 |     JackConnectionManager* manager = WriteNextStateStart();
      |                                      ~~~~~~~~~~~~~~~~~~~^~
../common/JackAtomicState.h:116:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackConnectionManager’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackConnectionManager.h:411:21: note: ‘class Jack::JackConnectionManager’ declared here
  411 | class SERVER_EXPORT JackConnectionManager
      |                     ^~~~~~~~~~~~~~~~~~~~~

../common/JackEngineProfiling.cpp: In constructor ‘Jack::JackEngineProfiling::JackEngineProfiling()’:
../common/JackEngineProfiling.cpp:39:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jack::JackTimingMeasure’; use assignment or value-initialization instead [-Wclass-memaccess]
   39 |     memset(fProfileTable, 0, sizeof(fProfileTable));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackEngineProfiling.cpp:20:
../common/JackEngineProfiling.h:84:8: note: ‘struct Jack::JackTimingMeasure’ declared here
   84 | struct JackTimingMeasure
      |        ^~~~~~~~~~~~~~~~~

../common/JackFrameTimer.cpp: In member function ‘void Jack::JackFrameTimer::ReadFrameTime(Jack::JackTimer*)’:
../common/JackFrameTimer.cpp:147:15: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackTimer’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  147 |         memcpy(timer, ReadCurrentState(), sizeof(JackTimer));
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../common/JackFrameTimer.cpp:21:
../common/JackFrameTimer.h:36:21: note: ‘class Jack::JackTimer’ declared here
   36 | class SERVER_EXPORT JackTimer
      |                     ^~~~~~~~~
In file included from ../common/JackFrameTimer.h:24:
../common/JackAtomicState.h: In instantiation of ‘UInt32 Jack::JackAtomicState::WriteNextStateStartAux() [with T = Jack::JackTimer; UInt32 = unsigned int]’:
../common/JackAtomicState.h:197:35:   required from ‘T* Jack::JackAtomicState::WriteNextStateStart() [with T = Jack::JackTimer]’
  197 |                                 ? WriteNextStateStartAux()
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
../common/JackFrameTimer.cpp:128:47:   required from here
  128 |         JackTimer* timer = WriteNextStateStart();
      |                            ~~~~~~~~~~~~~~~~~~~^~
../common/JackAtomicState.h:116:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Jack::JackTimer’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackFrameTimer.h:36:21: note: ‘class Jack::JackTimer’ declared here
   36 | class SERVER_EXPORT JackTimer
      |                     ^~~~~~~~~

../posix/JackSocket.cpp: In function ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’:
../posix/JackSocket.cpp:40:42: warning: ‘%s’ directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
   40 |             snprintf(res, size, "%s/jack_%s_%d_%d", dir, ext_client_name, JackTools::GetUID(), which);
      |                                          ^~              ~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/15.2.0/cstdio:47,
                 from /usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from /usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from /usr/include/c++/15.2.0/string:56,
                 from ../common/JackTools.h:42,
                 from ../posix/JackSocket.cpp:22:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’ at ../posix/JackSocket.cpp:40:14:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 267) into a destination of size 108
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../posix/JackSocket.cpp: In function ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’:
../posix/JackSocket.cpp:38:42: warning: ‘%s’ directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
   38 |             snprintf(res, size, "%s/jack_%s_%d", dir, ext_client_name, which);
      |                                          ^~           ~~~~~~~~~~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void Jack::BuildName(const char*, char*, const char*, int, int, bool)’ at ../posix/JackSocket.cpp:38:14:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 265) into a destination of size 108
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../posix/JackSocket.cpp: In member function ‘int Jack::JackServerSocket::Bind(const char*, const char*, int)’:
../posix/JackSocket.cpp:278:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 107 bytes from a string of length 255 [-Wstringop-truncation]
  278 |     strncpy(addr.sun_path, fName, sizeof(addr.sun_path) - 1);
      |            ^

../common/JackGenericClientChannel.cpp: In member function ‘virtual void Jack::JackGenericClientChannel::GetUUIDForClientName(int, const char*, char*, int*)’:
../common/JackGenericClientChannel.cpp:232:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
  232 |     strncpy(uuid_res, res.fUUID, JACK_UUID_SIZE);
      |            ^
../common/JackGenericClientChannel.cpp: In member function ‘virtual void Jack::JackGenericClientChannel::GetClientNameForUUID(int, const char*, char*, int*)’:
../common/JackGenericClientChannel.cpp:240:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
  240 |     strncpy(name_res, res.fName, JACK_CLIENT_NAME_SIZE);
      |            ^

../common/JackPort.cpp: In member function ‘int Jack::JackPort::GetAliases(char* const*)’:
../common/JackPort.cpp:257:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
  257 |         strncpy(aliases[0], fAlias1, REAL_JACK_PORT_NAME_SIZE);
      |                ^
../common/JackPort.cpp:262:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
  262 |         strncpy(aliases[1], fAlias2, REAL_JACK_PORT_NAME_SIZE);
      |                ^
../common/JackPort.cpp: In member function ‘int Jack::JackPort::SetAlias(const char*)’:
../common/JackPort.cpp:274:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 321 equals destination size [-Wstringop-truncation]
  274 |         strncpy(fAlias2, alias, sizeof(fAlias2));
      |                ^
../common/JackPort.cpp:272:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 321 equals destination size [-Wstringop-truncation]
  272 |         strncpy(fAlias1, alias, sizeof(fAlias1));
      |                ^

../common/JackClient.cpp: In member function ‘virtual int Jack::JackClient::SessionReply(jack_session_event_t*)’:
../common/JackClient.cpp:1294:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation]
 1294 |         strncpy(GetClientControl()->fSessionCommand, ev->command_line, sizeof(GetClientControl()->fSessionCommand));
      |                ^

../common/JackNetAPI.cpp: In function ‘jack_net_slave_t* jack_net_slave_open(const char*, int, const char*, jack_slave_t*, jack_master_t*)’:
../common/JackNetAPI.cpp:541:59: warning: ‘_’ directive output may be truncated writing 1 byte into a region of size between 0 and 64 [-Wformat-truncation=]
  541 |         snprintf(fParams.fName, JACK_CLIENT_NAME_SIZE, "%s_%s", host_name, name);
      |                                                           ^
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/15.2.0/cstdio:47,
                 from /usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from /usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from /usr/include/c++/15.2.0/string:56,
                 from /usr/include/c++/15.2.0/stdexcept:41,
                 from ../common/JackException.h:25,
                 from ../posix/JackPosixMutex.h:25,
                 from ../linux/JackPlatformPlug_os.h:44,
                 from ../common/JackPlatformPlug.h:23,
                 from ../common/JackMidiPort.h:26,
                 from ../common/JackNetTool.h:20,
                 from ../common/JackNetInterface.h:23,
                 from ../common/JackNetAPI.cpp:23:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘Jack::JackNetExtSlave::JackNetExtSlave(const char*, int, const char*, jack_slave_t*)’ at ../common/JackNetAPI.cpp:541:17,
    inlined from ‘jack_net_slave_t* jack_net_slave_open(const char*, int, const char*, jack_slave_t*, jack_master_t*)’ at ../common/JackNetAPI.cpp:1054:73:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 66) into a destination of size 64
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~

In file included from ../common/JackNetManager.h:23,
                 from ../common/JackNetManager.cpp:19:
../common/JackNetInterface.h:153:18: warning: ‘virtual bool Jack::JackNetMasterInterface::Init()’ was hidden [-Woverloaded-virtual=]
  153 |             bool Init();
      |                  ^~~~
../common/JackNetManager.h:70:18: note:   by ‘bool Jack::JackNetMaster::Init(bool)’
   70 |             bool Init(bool auto_connect);
      |                  ^~~~

../common/JackNetAdapter.cpp: In constructor ‘Jack::JackNetAdapter::JackNetAdapter(jack_client_t*, jack_nframes_t, jack_nframes_t, const JSList*)’:
../common/JackNetAdapter.cpp:92:28: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 127 [-Wstringop-truncation]
   92 |                     strncpy(fParams.fName, param->value.str, JACK_CLIENT_NAME_SIZE);
      |                            ^

../common/JackNetDriver.cpp: In function ‘Jack::JackDriverClientInterface* Jack::driver_initialize(JackLockedEngine*, JackSynchro*, const JSList*)’:
../common/JackNetDriver.cpp:787:32: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 64 bytes from a string of length 127 [-Wstringop-truncation]
  787 |                         strncpy(net_name, param->value.str, JACK_CLIENT_NAME_SIZE);
      |                                ^

../linux/alsa/alsa_rawmidi.c: In function ‘jack_process’:
../linux/alsa/alsa_rawmidi.c:826:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  826 |         write(str->wake_pipe[1], &r, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c: In function ‘alsa_rawmidi_stop’:
../linux/alsa/alsa_rawmidi.c:371:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  371 |         write(midi->in.wake_pipe[1], &c, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c:372:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  372 |         write(midi->out.wake_pipe[1], &c, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c:373:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  373 |         write(midi->scan.wake_pipe[1], &c, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c: In function ‘alsa_rawmidi_start’:
../linux/alsa/alsa_rawmidi.c:348:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  348 |                 write(midi->in.wake_pipe[1], &c, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c:354:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  354 |                 write(midi->in.wake_pipe[1], &c, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c:355:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  355 |                 write(midi->out.wake_pipe[1], &c, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c: In function ‘scan_thread’:
../linux/alsa/alsa_rawmidi.c:752:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  752 |                         read(wakeup.fd, &c, 1);
      |                         ^~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c: In function ‘midi_thread’:
../linux/alsa/alsa_rawmidi.c:890:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  890 |                         read(pfds[0].fd, &c, 1);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c: In function ‘scan_device’:
../linux/alsa/alsa_rawmidi.c:414:9: warning: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
  414 |         strncpy(port->device_name, snd_rawmidi_info_get_name(info), sizeof(port->device_name));
      |         ^
../linux/alsa/alsa_rawmidi.c:418:57: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 44 and 60 [-Wformat-truncation=]
  418 |         snprintf(port->name, sizeof(port->name), "%s %s %s", port->id.id[2] ? "out":"in", port->dev, name);
      |                                                         ^~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/alsa/asoundlib.h:32,
                 from ../linux/alsa/alsa_rawmidi.c:31:
In function ‘snprintf’,
    inlined from ‘midi_port_init’ at ../linux/alsa/alsa_rawmidi.c:418:2,
    inlined from ‘scan_port_add’ at ../linux/alsa/alsa_rawmidi.c:673:2,
    inlined from ‘scan_port_update’ at ../linux/alsa/alsa_rawmidi.c:657:10,
    inlined from ‘scan_device’ at ../linux/alsa/alsa_rawmidi.c:640:3:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 5 and 84 bytes into a destination of size 64
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
../linux/alsa/alsa_rawmidi.c: In function ‘scan_cycle’:
../linux/alsa/alsa_rawmidi.c:475:50: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 63 [-Wformat-truncation=]
  475 |                 snprintf(name, sizeof(name), "%s %d", port->name, num);
      |                                                  ^~
In function ‘snprintf’,
    inlined from ‘midi_port_open’ at ../linux/alsa/alsa_rawmidi.c:475:3,
    inlined from ‘scan_port_open’ at ../linux/alsa/alsa_rawmidi.c:694:8,
    inlined from ‘scan_cycle’ at ../linux/alsa/alsa_rawmidi.c:591:12:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 76 bytes into a destination of size 64
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~

In file included from ../linux/alsa/JackAlsaDriver.h:24,
                 from ../linux/alsa/JackAlsaDriver.cpp:36:
../common/JackAudioDriver.h:69:21: warning: ‘virtual int Jack::JackAudioDriver::Open(jack_nframes_t, jack_nframes_t, bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’ was hidden [-Woverloaded-virtual=]
   69 |         virtual int Open(jack_nframes_t buffer_size,
      |                     ^~~~
../linux/alsa/JackAlsaDriver.h:54:13: note:   by ‘int Jack::JackAlsaDriver::Open(jack_nframes_t, jack_nframes_t, jack_nframes_t, bool, bool, bool, bool, DitherAlgorithm, bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t, const char*)’
   54 |         int Open(jack_nframes_t buffer_size,
      |             ^~~~
../linux/alsa/JackAlsaDriver.cpp: In function ‘jack_driver_param_constraint_desc_t* enum_alsa_devices()’:
../linux/alsa/JackAlsaDriver.cpp:625:68: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 127 [-Wformat-truncation=]
  625 |                 snprintf(device_id.str, sizeof(device_id.str), "%s,%d", card_id.str, device_no);
      |                                                                    ^~
../linux/alsa/JackAlsaDriver.cpp:625:64: note: using the range [-2147483648, 2147483647] for directive argument
  625 |                 snprintf(device_id.str, sizeof(device_id.str), "%s,%d", card_id.str, device_no);
      |                                                                ^~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/15.2.0/cstdio:47,
                 from /usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from /usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from /usr/include/c++/15.2.0/string:56,
                 from /usr/include/c++/15.2.0/bits/locale_classes.h:42,
                 from /usr/include/c++/15.2.0/bits/ios_base.h:43,
                 from /usr/include/c++/15.2.0/ios:46,
                 from /usr/include/c++/15.2.0/bits/ostream.h:43,
                 from /usr/include/c++/15.2.0/ostream:42,
                 from /usr/include/c++/15.2.0/iostream:43,
                 from ../linux/alsa/JackAlsaDriver.cpp:23:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘jack_driver_param_constraint_desc_t* enum_alsa_devices()’ at ../linux/alsa/JackAlsaDriver.cpp:625:25:
/usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 3 and 140 bytes into a destination of size 128
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~

In file included from ../linux/alsa/JackAlsaDriver.h:24,
                 from ../linux/alsa/alsa_midi_jackmp.cpp:19:
../common/JackAudioDriver.h:69:21: warning: ‘virtual int Jack::JackAudioDriver::Open(jack_nframes_t, jack_nframes_t, bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’ was hidden [-Woverloaded-virtual=]
   69 |         virtual int Open(jack_nframes_t buffer_size,
      |                     ^~~~
../linux/alsa/JackAlsaDriver.h:54:13: note:   by ‘int Jack::JackAlsaDriver::Open(jack_nframes_t, jack_nframes_t, jack_nframes_t, bool, bool, bool, bool, DitherAlgorithm, bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t, const char*)’
   54 |         int Open(jack_nframes_t buffer_size,
      |             ^~~~

../linux/alsarawmidi/JackALSARawMidiPort.cpp: In member function ‘bool Jack::JackALSARawMidiPort::TriggerQueueEvent()’:
../linux/alsarawmidi/JackALSARawMidiPort.cpp:250:27: warning: ‘c’ is used uninitialized [-Wuninitialized]
  250 |     ssize_t result = write(fds[1], &c, 1);
      |                      ~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/alsa/asoundlib.h:31,
                 from ../linux/alsarawmidi/JackALSARawMidiPort.h:23,
                 from ../linux/alsarawmidi/JackALSARawMidiPort.cpp:24:
/usr/include/unistd.h:378:16: note: in a call to ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘access (read_only, 2, 3)’ here
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^~~~~
../linux/alsarawmidi/JackALSARawMidiPort.cpp:249:10: note: ‘c’ declared here
  249 |     char c;
      |          ^

In file included from ../common/JackMidiDriver.h:23,
                 from ../linux/alsarawmidi/JackALSARawMidiDriver.h:30,
                 from ../linux/alsarawmidi/JackALSARawMidiDriver.cpp:26:
../common/JackDriver.h:206:21: warning: ‘virtual int Jack::JackDriver::Open(jack_nframes_t, jack_nframes_t, bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’ was hidden [-Woverloaded-virtual=]
  206 |         virtual int Open(jack_nframes_t buffer_size,
      |                     ^~~~
../common/JackMidiDriver.h:60:21: note:   by ‘virtual int Jack::JackMidiDriver::Open(bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’
   60 |         virtual int Open(bool capturing,
      |                     ^~~~
../common/JackDriver.h:204:21: warning: ‘virtual int Jack::JackDriver::Open()’ was hidden [-Woverloaded-virtual=]
  204 |         virtual int Open();
      |                     ^~~~
../common/JackMidiDriver.h:60:21: note:   by ‘virtual int Jack::JackMidiDriver::Open(bool, bool, int, int, bool, const char*, const char*, jack_nframes_t, jack_nframes_t)’
   60 |         virtual int Open(bool capturing,
      |                     ^~~~