1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

5 Commits

Author SHA1 Message Date
Carlo Bramini
55008cba24
[WIN32] mod-script-pipe: fix compile error with GCC (#469)
When compiling with CMake and MinGW, I got these two errors:

audacity/lib-src/mod-script-pipe/PipeServer.cpp:18:29: warning: ISO C++ forbids converting a string constant to 'LPTSTR' {aka 'char*'} [-Wwrite-strings]
   18 |    LPTSTR pipeNameToSrv= _T("\\\\.\\pipe\\ToSrvPipe");

audacity/lib-src/mod-script-pipe/PipeServer.cpp:32:32: warning: ISO C++ forbids converting a string constant to 'LPTSTR' {aka 'char*'} [-Wwrite-strings]
   32 |    LPTSTR pipeNameFromSrv= __T("\\\\.\\pipe\\FromSrvPipe");

The solution is to replace LPTSTR and convert these two pointers into two const objects.
2020-03-25 08:24:12 -05:00
James Crook
549fa48a24 Fix order in which pipes are opened on linux. 2018-01-14 11:53:38 +00:00
james.k.crook@gmail.com
9fe88405b1 Fixed file resource-leak spotted by Martin Ettl (linux only) 2014-01-18 23:22:45 +00:00
james.k.crook@gmail.com
2bf327fec7 Ability to enable/disable loading of modules. Resized Prefs. Same-machine flag set when scripting (used by vista and later). 2012-07-14 22:45:12 +00:00
ra
58caf78a86 Move library tree where it belongs 2010-01-24 09:19:39 +00:00