Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use scan-build for testing #781

Open
ZeroChaos- opened this issue Feb 24, 2023 · 3 comments
Open

use scan-build for testing #781

ZeroChaos- opened this issue Feb 24, 2023 · 3 comments

Comments

@ZeroChaos-
Copy link

I don't know the "right" way to do this, but some kind folks in the #gentoo-dev-help channel on libera irc helped me discover scan-build

Min test case for use

scan-build cmake ..
scan-build make -j$(nproc)

This will build the code while using a static code analysis tool to report errors. It seems to successfully find bugs like the ones found at runtime with #780

It also makes a cool html report at the end. I don't know how to do github actions well, but this would be an excellent way to add some automated testing. This might be a good start to work on that https://github.com/marketplace/actions/run-cmake

@ZeroChaos-
Copy link
Author

Example output

zero@theprophet trunk-recorder % mkdir build                                                                                                                 (git)-[master] 
zero@theprophet trunk-recorder % cd build                                                                                                                    (git)-[master] 
zero@theprophet build % CXXFLAGS="-D_GLIBCXX_ASSERTIONS" scan-build cmake ..                                                                                 (git)-[master] 
scan-build: Using '/usr/lib/llvm/15/bin/clang-15' for static analysis
-- The CXX compiler identification is GNU 12.2.1
-- The C compiler identification is GNU 12.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm/15/libexec/c++-analyzer - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm/15/libexec/ccc-analyzer - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Checking for module 'gmp'
--   Found gmp, version 6.2.1
-- Found GMP: /usr/lib64/libgmpxx.so  
-- Using GMP.
-- Found MPLIB: /usr/lib64/libgmpxx.so  
-- Found Boost: /usr/lib64/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.81.0") found components: date_time program_options system regex thread 
-- Found Volk: Volk::volk  
-- User set python executable /usr/bin/python3.10
-- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.9") 
-- Found PythonLibs: /usr/lib64/libpython3.10.so (found suitable exact version "3.10.9") 
-- Found Git: /usr/bin/git  
-- Extracting version information from git describe...
-- Using GMP.
-- GnuRadio Version: 200709
-- Checking for module 'gnuradio-uhd'
--   Found gnuradio-uhd, version 3.10.5
-- Found gnuradio-uhd: /usr/include, /usr/lib64/libgnuradio-uhd.so
-- Found GnuradioUHD: /usr/lib64/libgnuradio-uhd.so  
-- Checking for module 'gnuradio-osmosdr'
--   Package 'gnuradio-osmosdr', required by 'virtual:world', not found
-- Found gnuradio-osmosdr: /usr/include, /usr/lib64/libgnuradio-osmosdr.so
-- Found GnuradioOsmosdr: /usr/lib64/libgnuradio-osmosdr.so  
-- Checking for module 'libhackrf'
--   Found libhackrf, version 0.8
-- Found LibHackRF: /usr/lib64/libhackrf.so  
-- Checking for module 'uhd'
--   Found uhd, version 4.3.0.0
-- Found LibUHD: /usr/lib64/libuhd.so  
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1t")  
-- Found CURL: /usr/lib64/libcurl.so (found version "7.87.0")  
-- Configuring Boost C++ Libraries...
-- Found Boost: /usr/lib64/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: thread system program_options filesystem log_setup log regex random 
-- Gnuradio Version is: 3.10.5.1
-- AMBE Tone Synthesis Enabled
-- All libraries:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zero/development/trunk-recorder/build
scan-build: Analysis run complete.
scan-build: Removing directory '/tmp/scan-build-2023-02-24-161256-12601-1' because it contains no reports.
scan-build: No bugs found.
zero@theprophet build % scan-build make -j12                                                                                                                 (git)-[master] 
scan-build: Using '/usr/lib/llvm/15/bin/clang-15' for static analysis
[  0%] Checking the git repository for changes...
[  2%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/formatter.cc.o
[  2%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/call_impl.cc.o
[  3%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/call_conventional.cc.o
[  5%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/dmr_bs_tx_bb_impl.cc.o
[  5%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/systems/p25_trunking.cc.o
[  2%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/source.cc.o
[  5%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/recorder.cc.o
[  5%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/systems/smartnet_trunking.cc.o
[  5%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/ysf_tx_sb_impl.cc.o
[  5%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/ambe_encoder_sb_impl.cc.o
[  6%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/systems/smartnet_parser.cc.o
[  6%] Built target check_git
[  7%] Building CXX object CMakeFiles/git.dir/git.cc.o
[  8%] Linking CXX static library libgit.a
[  8%] Built target git
[  8%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/systems/p25_parser.cc.o
[  9%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/dstar_tx_sb_impl.cc.o
[ 10%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/vocoder_impl.cc.o
[ 10%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/gardner_cc_impl.cc.o
[ 11%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/systems/smartnet_decode.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/vocoder_impl.cc:48:14: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
      return gnuradio::get_initial_sptr
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 12%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/costas_loop_cc_impl.cc.o
[ 12%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/systems/system_impl.cc.o
[ 13%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/debug_recorder_impl.cc.o
[ 14%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25_frame_assembler_impl.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/costas_loop_cc_impl.cc:42:12: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
    return gnuradio::get_initial_sptr(new costas_loop_cc_impl(loop_bw, order, max_phase));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 14%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/frame_assembler_impl.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/systems/p25_trunking.cc:214:3: warning: Value stored to 'fmax' is never read [deadcode.DeadStores]
  fmax = 2 * pi * fmax / double(system_channel_rate);
  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 15%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/analog_udp_impl.cc.o
[ 15%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/rmsagc_ff_impl.cc.o
[ 16%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/fsk4_slicer_fb_impl.cc.o
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/smartnet_parser.cc:1:
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/smartnet_parser.h:4:
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/system.h:3:
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/../talkgroups.h:5:
In file included from /usr/include/boost/algorithm/string.hpp:19:
In file included from /usr/include/boost/algorithm/string/trim.hpp:23:
In file included from /usr/include/boost/algorithm/string/classification.hpp:18:
/usr/include/boost/algorithm/string/detail/classification.hpp:137:25: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
                    if(!use_fixed_storage(m_Size) && m_Storage.m_dynSet!=0)
                        ^~~~~~~~~~~~~~~~~
/usr/include/boost/algorithm/string/detail/classification.hpp:141:17: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
                }
                ^
/usr/include/boost/algorithm/string/detail/classification.hpp:141:17: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
3 warnings generated.
[ 17%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/iqfile_source_impl.cc.o
[ 18%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/sigmf_recorder_impl.cc.o
[ 18%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/fsk4_demod_ff_impl.cc.o
[ 18%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/analog_recorder.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/frame_assembler_impl.cc:76:24: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
                return gnuradio::get_initial_sptr
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/frame_assembler_impl.cc:147:14: warning: Value stored to 'terminated' during its initialization is never read [deadcode.DeadStores]
        bool terminated = d_sync->get_terminated(slot_id);
             ^~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 19%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/bch.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/rmsagc_ff_impl.cc:38:20: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
            return gnuradio::get_initial_sptr
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 19%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/rs.cc.o
[ 20%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25_framer.cc.o
[ 21%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p1_fdma.cc.o
[ 21%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p1_voice_encode.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/p25_frame_assembler_impl.cc:162:7: warning: Value stored to 'p2_ptt_grp_id' is never read [deadcode.DeadStores]
      p2_ptt_grp_id = p2tdma.get_ptt_grp_id(); 
      ^               ~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 22%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p1_voice_decode.cc.o
[ 23%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_framer.cc.o
[ 24%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/dmr_recorder_impl.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/fsk4_demod_ff_impl.cc:177:14: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
      return gnuradio::get_initial_sptr
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 24%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_isch.cc.o
[ 25%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_duid.cc.o
[ 25%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_sync.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/p25p2_sync.cc:49:13: warning: Although the value stored to 'cnt' is used in the enclosing expression, the value is never actually read from 'cnt' [deadcode.DeadStores]
        checkval = cnt = fr = loc = chn = rc;
                   ^     ~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/p25p2_sync.cc:49:19: warning: Although the value stored to 'fr' is used in the enclosing expression, the value is never actually read from 'fr' [deadcode.DeadStores]
        checkval = cnt = fr = loc = chn = rc;
                         ^    ~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/p25p2_sync.cc:49:24: warning: Although the value stored to 'loc' is used in the enclosing expression, the value is never actually read from 'loc' [deadcode.DeadStores]
        checkval = cnt = fr = loc = chn = rc;
                              ^     ~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/p25p2_sync.cc:51:3: warning: Value stored to 'cnt' is never read [deadcode.DeadStores]
                cnt = rc & 3;
                ^     ~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/p25p2_sync.cc:53:3: warning: Value stored to 'fr' is never read [deadcode.DeadStores]
                fr = rc & 1;
                ^    ~~~~~~
5 warnings generated.
[ 26%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_tdma.cc.o
[ 27%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_vf.cc.o
[ 27%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_decoder.cc.o
[ 28%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/software_imbe_decoder.cc.o
[ 28%] Building C object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/ambe.c.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/ambe.c:430:2: warning: Value stored to 'ID0' is never read [deadcode.DeadStores]
        ID0 = 0;
        ^     ~
1 warning generated.
[ 29%] Building C object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/mbelib.c.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/mbelib.c:324:15: warning: Value stored to 'C1' is never read [deadcode.DeadStores]
              C1 = 0;
              ^    ~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/mbelib.c:352:15: warning: Value stored to 'C1' is never read [deadcode.DeadStores]
              C1 = 0;
              ^    ~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/mbelib.c:376:15: warning: Value stored to 'C1' is never read [deadcode.DeadStores]
              C1 = 0;
              ^    ~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/mbelib.c:379:15: warning: Value stored to 'C2' is never read [deadcode.DeadStores]
              C2 = 0;
              ^    ~
4 warnings generated.
[ 30%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/ambe_encoder.cc.o
[ 30%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/rx_sync.cc.o
[ 31%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/rx_smartnet.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/p25p2_tdma.cc:162:15: warning: Value stored to 'offset' during its initialization is never read [deadcode.DeadStores]
        unsigned int offset = (byte_buf[0] >> 2) & 0x7;
                     ^~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 32%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/rx_subchannel.cc.o
[ 32%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/hamming.cc.o
[ 33%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/golay2087.cc.o
[ 33%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/bptc19696.cc.o
[ 34%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/trellis.cc.o
[ 34%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/p25_recorder_impl.cc.o
[ 35%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/p25_recorder_fsk4_demod.cc.o
[ 36%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/dmr_cai.cc.o
[ 37%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/p25_recorder_qpsk_demod.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/rx_sync.cc:203:21: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]
        if (d_debug > 5 && !unmute)
                           ^~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/rx_sync.cc:349:6: warning: Value stored to 'rc' is never read [deadcode.DeadStores]
                                        rc = 0;
                                        ^    ~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/rx_sync.cc:362:5: warning: Value stored to 'rc' is never read [deadcode.DeadStores]
                                rc = 0;
                                ^    ~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/rx_sync.cc:383:16: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]
                                buf[j+i*y] = cw[i+j*x];
                                           ^ ~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/rx_sync.cc:402:4: warning: 1st function call argument is an uninitialized value [core.CallAndMessage]
                        fullrate_cw[i] = cw[ysf_permutation[i]];
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/rx_sync.cc:588:7: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]
                if (!unmute)
                    ^~~~~~~
6 warnings generated.
[ 37%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/recorders/p25_recorder_decode.cc.o
[ 37%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/dmr_slot.cc.o
[ 38%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/op25_audio.cc.o
[ 39%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/op25_timer.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/recorders/sigmf_recorder_impl.cc:10:3: warning: Potential leak of memory pointed to by 'recorder' [cplusplus.NewDeleteLeaks]
  return gnuradio::get_initial_sptr(recorder);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 40%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/csv_helper.cc.o
[ 40%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/CCITTChecksumReverse.cpp.o
[ 41%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/aux_sub.cc.o
[ 41%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/basicop2.cc.o
[ 42%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/ch_decode.cc.o
[ 43%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/talkgroup.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/imbe_vocoder/basicop2.cc:2069:23: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]
                L_num <<= 1;
                      ^   ~
1 warning generated.
[ 44%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/ch_encode.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/imbe_vocoder/ch_encode.cc:65:21: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]
        frame_vector[0] |= (bit_stream[index0++])?4:0;
                           ^~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/imbe_vocoder/ch_encode.cc:66:21: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]
        frame_vector[0] |= (bit_stream[index0++])?2:0;
                           ^~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/imbe_vocoder/ch_encode.cc:67:21: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]
        frame_vector[0] |= (bit_stream[index0++])?1:0;
                           ^~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/imbe_vocoder/ch_encode.cc:75:8: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]
                        tmp |= bit_stream[index0++];
                            ^  ~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
[ 44%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/dc_rmv.cc.o
[ 45%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/decode.cc.o
[ 45%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/talkgroups.cc.o
[ 45%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/dsp_sub.cc.o
[ 46%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/encode.cc.o
[ 47%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/imbe_vocoder.cc.o
[ 47%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/math_sub.cc.o
[ 48%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/pe_lpf.cc.o
[ 49%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/pitch_est.cc.o
[ 50%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/unit_tag.cc.o
[ 50%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/pitch_ref.cc.o
[ 50%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/unit_tags.cc.o
[ 51%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/qnt_sub.cc.o
[ 52%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/plugin_manager/plugin_manager.cc.o
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/dmr_slot.cc:796:11: warning: Value stored to 'rxd_crc' during its initialization is never read [deadcode.DeadStores]
        uint16_t rxd_crc = (data[42] << 4) + (data[58] << 3) + (data[74] << 2) + (data[90] << 1) + data[106];
                 ^~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/lib/op25_repeater/lib/dmr_slot.cc:799:11: warning: Value stored to 'calc_crc' during its initialization is never read [deadcode.DeadStores]
        uint16_t calc_crc = (d_lc[0] + d_lc[1] + d_lc[2] + d_lc[3] + d_lc[4] + d_lc[5] + d_lc[6] + d_lc[7] + d_lc[8]) % 31;
                 ^~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 52%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/rand_gen.cc.o
[ 53%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/sa_decode.cc.o
[ 54%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/sa_encode.cc.o
[ 55%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/call_concluder/call_concluder.cc.o
[ 55%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/sa_enh.cc.o
[ 55%] Building CXX object CMakeFiles/trunk_recorder_library.dir/lib/lfsr/lfsr.cxx.o
[ 56%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/freq_xlating_fft_filter.cc.o
[ 57%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/tbls.cc.o
[ 57%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/uv_synt.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/recorders/p25_recorder_qpsk_demod.cc:47:3: warning: Value stored to 'fmax' is never read [deadcode.DeadStores]
  fmax = 2 * pi * fmax / double(system_channel_rate);
  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/recorders/p25_recorder_qpsk_demod.cc:65:3: warning: Value stored to 'fmax' is never read [deadcode.DeadStores]
  fmax = 2 * pi * fmax / double(system_channel_rate);
  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 57%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/transmission_sink.cc.o
[ 58%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/v_synt.cc.o
[ 59%] Building CXX object lib/op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_vocoder/v_uv_det.cc.o
[ 60%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/decoders/fsync_decode.cc.o
[ 61%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/decoders/mdc_decode.cc.o
[ 61%] Linking CXX shared library ../../../libgnuradio-op25_repeater.so
[ 61%] Built target gnuradio-op25_repeater
[ 61%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/decoders/star_decode.cc.o
[ 62%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/decoders/signal_decoder_sink_impl.cc.o
[ 63%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/decoders/tps_decoder_sink_impl.cc.o
[ 63%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/decoder_wrapper_impl.cc.o
[ 64%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/plugin_wrapper_impl.cc.o
[ 64%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/selector_impl.cc.o
[ 65%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/wavfile_gr3.8.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:94:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&file_size, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:101:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&fmt_hdr_skip, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:103:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&compression_type, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:108:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&nchans, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:109:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&sample_rate, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:110:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&avg_bytes_per_sec, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:111:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&block_align, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:112:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&bits_per_sample, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:155:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&chunk_size, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
[ 66%] Building CXX object CMakeFiles/trunk_recorder_library.dir/trunk-recorder/gr_blocks/rms_agc.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/recorders/p25_recorder_impl.cc:232:8: warning: Value stored to 'if_rate' during its initialization is never read [deadcode.DeadStores]
  long if_rate = phase1_channel_rate;
       ^~~~~~~   ~~~~~~~~~~~~~~~~~~~
1 warning generated.
/home/zero/development/trunk-recorder/trunk-recorder/plugin_manager/plugin_manager.cc:69:7: warning: Value stored to 'ret' is never read [deadcode.DeadStores]
      ret = 0;
      ^     ~
1 warning generated.
/home/zero/development/trunk-recorder/trunk-recorder/call_concluder/call_concluder.cc:194:7: warning: Value stored to 'result' is never read [deadcode.DeadStores]
      result = system(shell_command_string.c_str());
      ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 66%] Linking CXX static library libtrunk-recorder.a
[ 66%] Built target trunk_recorder_library
[ 68%] Building CXX object plugins/unit_script/CMakeFiles/unit_script.dir/unit_script.cc.o
[ 68%] Building CXX object plugins/stat_socket/CMakeFiles/stat_socket.dir/stat_socket.cc.o
[ 70%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/recorder.cc.o
[ 70%] Building CXX object plugins/openmhz_uploader/CMakeFiles/openmhz_uploader.dir/openmhz_uploader.cc.o
[ 70%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/call_impl.cc.o
[ 70%] Building CXX object plugins/broadcastify_uploader/CMakeFiles/broadcastify_uploader.dir/broadcastify_uploader.cc.o
[ 71%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/formatter.cc.o
[ 71%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/source.cc.o
[ 72%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/main.cc.o
[ 73%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/call_conventional.cc.o
[ 73%] Building CXX object plugins/simplestream/CMakeFiles/simplestream.dir/simplestream.cc.o
[ 73%] Building CXX object plugins/rdioscanner_uploader/CMakeFiles/rdioscanner_uploader.dir/rdioscanner_uploader.cc.o
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc: In member function ‘int Rdio_Scanner_Uploader::upload(Call_Data_t)’:
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:163:17: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  163 |                 CURLFORM_COPYNAME, "audio",
      |                 ^~~~~~~~~~~~~~~~~
In file included from /home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:1:
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:164:17: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
  164 |                 CURLFORM_FILE, compress_wav ? call_info.converted : call_info.filename,
      |                 ^~~~~~~~~~~~~
/usr/include/curl/curl.h:2504:3: note: declared here
 2504 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
      |   ^~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:165:17: warning: ‘CURLFORM_CONTENTTYPE’ is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
  165 |                 CURLFORM_CONTENTTYPE, "application/octet-stream",
      |                 ^~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2510:3: note: declared here
 2510 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
      |   ^~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:161:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  161 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  162 |                 &lastptr,
      |                 ~~~~~~~~~
  163 |                 CURLFORM_COPYNAME, "audio",
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  164 |                 CURLFORM_FILE, compress_wav ? call_info.converted : call_info.filename,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  165 |                 CURLFORM_CONTENTTYPE, "application/octet-stream",
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |                 CURLFORM_END);
      |                 ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:170:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  170 |                  CURLFORM_COPYNAME, "audioName",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:171:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  171 |                  CURLFORM_COPYCONTENTS, audioName.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:168:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  168 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  169 |                 &lastptr,
      |                 ~~~~~~~~~
  170 |                  CURLFORM_COPYNAME, "audioName",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  171 |                  CURLFORM_COPYCONTENTS, audioName.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  172 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:176:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  176 |                  CURLFORM_COPYNAME, "audioType",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:177:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  177 |                  CURLFORM_COPYCONTENTS, compress_wav ? "audio/mp4" : "audio/wav",
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:174:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  174 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  175 |                 &lastptr,
      |                 ~~~~~~~~~
  176 |                  CURLFORM_COPYNAME, "audioType",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177 |                  CURLFORM_COPYCONTENTS, compress_wav ? "audio/mp4" : "audio/wav",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:182:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  182 |                  CURLFORM_COPYNAME, "dateTime",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:183:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  183 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.start_time).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:180:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  180 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  181 |                  &lastptr,
      |                  ~~~~~~~~~
  182 |                  CURLFORM_COPYNAME, "dateTime",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  183 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.start_time).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:188:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  188 |                  CURLFORM_COPYNAME, "frequencies",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:189:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  189 |                  CURLFORM_COPYCONTENTS, freq_list_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:186:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  186 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  187 |                  &lastptr,
      |                  ~~~~~~~~~
  188 |                  CURLFORM_COPYNAME, "frequencies",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  189 |                  CURLFORM_COPYCONTENTS, freq_list_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  190 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:194:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  194 |                  CURLFORM_COPYNAME, "frequency",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:195:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  195 |                  CURLFORM_COPYCONTENTS, freq_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:192:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  192 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  193 |                  &lastptr,
      |                  ~~~~~~~~~
  194 |                  CURLFORM_COPYNAME, "frequency",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195 |                  CURLFORM_COPYCONTENTS, freq_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:200:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  200 |                  CURLFORM_COPYNAME, "key",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:201:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  201 |                  CURLFORM_COPYCONTENTS, api_key.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:198:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  198 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  199 |                  &lastptr,
      |                  ~~~~~~~~~
  200 |                  CURLFORM_COPYNAME, "key",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~
  201 |                  CURLFORM_COPYCONTENTS, api_key.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  202 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:206:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  206 |                  CURLFORM_COPYNAME, "patches",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:207:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  207 |                  CURLFORM_COPYCONTENTS, patch_list_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:204:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  204 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  205 |                  &lastptr,
      |                  ~~~~~~~~~
  206 |                  CURLFORM_COPYNAME, "patches",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  207 |                  CURLFORM_COPYCONTENTS, patch_list_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  208 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:212:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  212 |                  CURLFORM_COPYNAME, "talkgroup",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:213:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  213 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:210:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  210 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  211 |                  &lastptr,
      |                  ~~~~~~~~~
  212 |                  CURLFORM_COPYNAME, "talkgroup",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  213 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  214 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:218:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  218 |                  CURLFORM_COPYNAME, "talkgroupGroup",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:219:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  219 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_group).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:216:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  216 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  217 |                  &lastptr,
      |                  ~~~~~~~~~
  218 |                  CURLFORM_COPYNAME, "talkgroupGroup",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  219 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_group).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  220 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:224:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  224 |                  CURLFORM_COPYNAME, "talkgroupLabel",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:225:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  225 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_alpha_tag).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:222:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  222 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  223 |                  &lastptr,
      |                  ~~~~~~~~~
  224 |                  CURLFORM_COPYNAME, "talkgroupLabel",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  225 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_alpha_tag).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  226 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:230:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  230 |                  CURLFORM_COPYNAME, "talkgroupTag",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:231:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  231 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_tag).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:228:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  228 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  229 |                  &lastptr,
      |                  ~~~~~~~~~
  230 |                  CURLFORM_COPYNAME, "talkgroupTag",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  231 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_tag).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  232 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:236:19: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  236 |                   CURLFORM_COPYNAME, "talkgroupName",
      |                   ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:237:19: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  237 |                   CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_description).c_str(),
      |                   ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:234:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  234 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  235 |                   &lastptr,
      |                   ~~~~~~~~~
  236 |                   CURLFORM_COPYNAME, "talkgroupName",
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  237 |                   CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup_description).c_str(),
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  238 |                   CURLFORM_END);
      |                   ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:242:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  242 |                  CURLFORM_COPYNAME, "sources",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:243:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  243 |                  CURLFORM_COPYCONTENTS, source_list_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:240:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  240 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  241 |                  &lastptr,
      |                  ~~~~~~~~~
  242 |                  CURLFORM_COPYNAME, "sources",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  243 |                  CURLFORM_COPYCONTENTS, source_list_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  244 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:248:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  248 |                  CURLFORM_COPYNAME, "system",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:249:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  249 |                  CURLFORM_COPYCONTENTS, system_id.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:246:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  246 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  247 |                  &lastptr,
      |                  ~~~~~~~~~
  248 |                  CURLFORM_COPYNAME, "system",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  249 |                  CURLFORM_COPYCONTENTS, system_id.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  250 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:254:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  254 |                  CURLFORM_COPYNAME, "systemLabel",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:255:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  255 |                  CURLFORM_COPYCONTENTS, call_info.short_name.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:252:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  252 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  253 |                  &lastptr,
      |                  ~~~~~~~~~
  254 |                  CURLFORM_COPYNAME, "systemLabel",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  255 |                  CURLFORM_COPYCONTENTS, call_info.short_name.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  256 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:271:30: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
  271 |       curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
      |                              ^~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:1195:3: note: declared here
 1195 |   CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/rdioscanner_uploader/rdioscanner_uploader.cc:351:20: warning: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
  351 |       curl_formfree(formpost);
      |       ~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/curl/curl.h:2606:1: note: declared here
 2606 | curl_formfree(struct curl_httppost *form);
      | ^~~~~~~~~~~~~
In file included from /home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:1:
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc: In member function ‘CURLcode Broadcastify_Uploader::upload_audio_file(std::string, std::string)’:
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:82:30: warning: ‘CURLOPT_PUT’ is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations]
   82 |       curl_easy_setopt(curl, CURLOPT_PUT, 1L);
      |                              ^~~~~~~~~~~
/usr/include/curl/curl.h:1286:3: note: declared here
 1286 |   CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc: In member function ‘int Broadcastify_Uploader::upload(Call_Data_t)’:
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:139:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  139 |                  CURLFORM_COPYNAME, "metadata",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:140:18: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
  140 |                  CURLFORM_FILE, call_info.status_filename,
      |                  ^~~~~~~~~~~~~
/usr/include/curl/curl.h:2504:3: note: declared here
 2504 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
      |   ^~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:141:18: warning: ‘CURLFORM_CONTENTTYPE’ is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
  141 |                  CURLFORM_CONTENTTYPE, "application/json",
      |                  ^~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2510:3: note: declared here
 2510 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
      |   ^~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:137:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  137 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  138 |                  &lastptr,
      |                  ~~~~~~~~~
  139 |                  CURLFORM_COPYNAME, "metadata",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140 |                  CURLFORM_FILE, call_info.status_filename,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141 |                  CURLFORM_CONTENTTYPE, "application/json",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  142 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:147:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  147 |                  CURLFORM_COPYNAME, "filename",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:148:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  148 |                  CURLFORM_COPYCONTENTS, call_info.converted,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:145:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  145 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  146 |                  &lastptr,
      |                  ~~~~~~~~~
  147 |                  CURLFORM_COPYNAME, "filename",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  148 |                  CURLFORM_COPYCONTENTS, call_info.converted,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  149 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:153:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  153 |                  CURLFORM_COPYNAME, "callDuration",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:154:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  154 |                  CURLFORM_COPYCONTENTS, std::to_string(call_info.length).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:151:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  151 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  152 |                  &lastptr,
      |                  ~~~~~~~~~
  153 |                  CURLFORM_COPYNAME, "callDuration",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154 |                  CURLFORM_COPYCONTENTS, std::to_string(call_info.length).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:159:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  159 |                  CURLFORM_COPYNAME, "systemId",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:160:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  160 |                  CURLFORM_COPYCONTENTS, system_id.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:157:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  157 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  158 |                  &lastptr,
      |                  ~~~~~~~~~
  159 |                  CURLFORM_COPYNAME, "systemId",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  160 |                  CURLFORM_COPYCONTENTS, system_id.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  161 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:165:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  165 |                  CURLFORM_COPYNAME, "apiKey",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:166:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  166 |                  CURLFORM_COPYCONTENTS, api_key.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:163:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  163 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  164 |                  &lastptr,
      |                  ~~~~~~~~~
  165 |                  CURLFORM_COPYNAME, "apiKey",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |                  CURLFORM_COPYCONTENTS, api_key.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:180:30: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
  180 |       curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
      |                              ^~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:1195:3: note: declared here
 1195 |   CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/broadcastify_uploader/broadcastify_uploader.cc:266:20: warning: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
  266 |       curl_formfree(formpost);
      |       ~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/curl/curl.h:2606:1: note: declared here
 2606 | curl_formfree(struct curl_httppost *form);
      | ^~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc: In member function ‘int Openmhz_Uploader::upload(Call_Data_t)’:
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:124:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  124 |                  CURLFORM_COPYNAME, "call",
      |                  ^~~~~~~~~~~~~~~~~
In file included from /home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:1:
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:125:18: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
  125 |                  CURLFORM_FILE, call_info.converted,
      |                  ^~~~~~~~~~~~~
/usr/include/curl/curl.h:2504:3: note: declared here
 2504 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
      |   ^~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:126:18: warning: ‘CURLFORM_CONTENTTYPE’ is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
  126 |                  CURLFORM_CONTENTTYPE, "application/octet-stream",
      |                  ^~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2510:3: note: declared here
 2510 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
      |   ^~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:122:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  122 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  123 |                  &lastptr,
      |                  ~~~~~~~~~
  124 |                  CURLFORM_COPYNAME, "call",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
  125 |                  CURLFORM_FILE, call_info.converted,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126 |                  CURLFORM_CONTENTTYPE, "application/octet-stream",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  127 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:131:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  131 |                  CURLFORM_COPYNAME, "freq",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:132:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  132 |                  CURLFORM_COPYCONTENTS, freq_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:129:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  129 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  130 |                  &lastptr,
      |                  ~~~~~~~~~
  131 |                  CURLFORM_COPYNAME, "freq",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
  132 |                  CURLFORM_COPYCONTENTS, freq_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  133 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:137:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  137 |                  CURLFORM_COPYNAME, "start_time",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:138:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  138 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.start_time).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:135:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  135 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  136 |                  &lastptr,
      |                  ~~~~~~~~~
  137 |                  CURLFORM_COPYNAME, "start_time",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  138 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.start_time).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:143:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  143 |                  CURLFORM_COPYNAME, "stop_time",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:144:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  144 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.stop_time).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:141:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  141 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  142 |                  &lastptr,
      |                  ~~~~~~~~~
  143 |                  CURLFORM_COPYNAME, "stop_time",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  144 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.stop_time).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  145 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:149:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  149 |                  CURLFORM_COPYNAME, "call_length",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:150:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  150 |                  CURLFORM_COPYCONTENTS, call_length_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:147:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  147 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  148 |                  &lastptr,
      |                  ~~~~~~~~~
  149 |                  CURLFORM_COPYNAME, "call_length",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  150 |                  CURLFORM_COPYCONTENTS, call_length_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  151 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:155:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  155 |                  CURLFORM_COPYNAME, "talkgroup_num",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:156:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  156 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:153:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  153 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  154 |                  &lastptr,
      |                  ~~~~~~~~~
  155 |                  CURLFORM_COPYNAME, "talkgroup_num",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  156 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.talkgroup).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  157 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:161:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  161 |                  CURLFORM_COPYNAME, "emergency",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:162:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  162 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.emergency).c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:159:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  159 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  160 |                  &lastptr,
      |                  ~~~~~~~~~
  161 |                  CURLFORM_COPYNAME, "emergency",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  162 |                  CURLFORM_COPYCONTENTS, boost::lexical_cast<std::string>(call_info.emergency).c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  163 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:167:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  167 |                  CURLFORM_COPYNAME, "api_key",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:168:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  168 |                  CURLFORM_COPYCONTENTS, api_key.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:165:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  165 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  166 |                  &lastptr,
      |                  ~~~~~~~~~
  167 |                  CURLFORM_COPYNAME, "api_key",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  168 |                  CURLFORM_COPYCONTENTS, api_key.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  169 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:173:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  173 |                  CURLFORM_COPYNAME, "source_list",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:174:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  174 |                  CURLFORM_COPYCONTENTS, source_list_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:171:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  171 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  172 |                  &lastptr,
      |                  ~~~~~~~~~
  173 |                  CURLFORM_COPYNAME, "source_list",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174 |                  CURLFORM_COPYCONTENTS, source_list_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  175 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:178:18: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
  178 |                  CURLFORM_COPYNAME, "freq_list",
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2495:3: note: declared here
 2495 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:179:18: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
  179 |                  CURLFORM_COPYCONTENTS, freq_list_string.c_str(),
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:2498:3: note: declared here
 2498 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:176:17: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
  176 |     curl_formadd(&formpost,
      |     ~~~~~~~~~~~~^~~~~~~~~~~
  177 |                  &lastptr,
      |                  ~~~~~~~~~
  178 |                  CURLFORM_COPYNAME, "freq_list",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179 |                  CURLFORM_COPYCONTENTS, freq_list_string.c_str(),
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  180 |                  CURLFORM_END);
      |                  ~~~~~~~~~~~~~
/usr/include/curl/curl.h:2570:1: note: declared here
 2570 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:195:30: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
  195 |       curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
      |                              ^~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:1195:3: note: declared here
 1195 |   CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
      |   ^~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/plugins/openmhz_uploader/openmhz_uploader.cc:278:20: warning: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
  278 |       curl_formfree(formpost);
      |       ~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/curl/curl.h:2606:1: note: declared here
 2606 | curl_formfree(struct curl_httppost *form);
      | ^~~~~~~~~~~~~
[ 74%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/systems/smartnet_trunking.cc.o
[ 75%] Linking CXX shared module ../../libunit_script.so
[ 75%] Built target unit_script
[ 75%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/systems/p25_trunking.cc.o
[ 76%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/systems/smartnet_parser.cc.o
[ 76%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/systems/p25_parser.cc.o
[ 77%] Linking CXX shared module ../../librdioscanner_uploader.so
[ 77%] Built target rdioscanner_uploader
[ 78%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/systems/smartnet_decode.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/systems/p25_trunking.cc:214:3: warning: Value stored to 'fmax' is never read [deadcode.DeadStores]
  fmax = 2 * pi * fmax / double(system_channel_rate);
  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 79%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/systems/system_impl.cc.o
[ 80%] Linking CXX shared module ../../libopenmhz_uploader.so
[ 80%] Built target openmhz_uploader
[ 80%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/debug_recorder_impl.cc.o
[ 81%] Linking CXX shared module ../../libbroadcastify_uploader.so
[ 81%] Built target broadcastify_uploader
[ 82%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/sigmf_recorder_impl.cc.o
[ 83%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/analog_recorder.cc.o
[ 83%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/dmr_recorder_impl.cc.o
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/smartnet_parser.cc:1:
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/smartnet_parser.h:4:
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/system.h:3:
In file included from /home/zero/development/trunk-recorder/trunk-recorder/systems/../talkgroups.h:5:
In file included from /usr/include/boost/algorithm/string.hpp:19:
In file included from /usr/include/boost/algorithm/string/trim.hpp:23:
In file included from /usr/include/boost/algorithm/string/classification.hpp:18:
/usr/include/boost/algorithm/string/detail/classification.hpp:137:25: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
                    if(!use_fixed_storage(m_Size) && m_Storage.m_dynSet!=0)
                        ^~~~~~~~~~~~~~~~~
/usr/include/boost/algorithm/string/detail/classification.hpp:141:17: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
                }
                ^
/usr/include/boost/algorithm/string/detail/classification.hpp:141:17: warning: Potential memory leak [cplusplus.NewDeleteLeaks]
3 warnings generated.
[ 84%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/p25_recorder_impl.cc.o
[ 84%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/p25_recorder_fsk4_demod.cc.o
[ 85%] Linking CXX shared module ../../libsimplestream.so
[ 85%] Built target simplestream
[ 86%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/p25_recorder_qpsk_demod.cc.o
[ 87%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/recorders/p25_recorder_decode.cc.o
[ 87%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/csv_helper.cc.o
[ 88%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/talkgroup.cc.o
[ 88%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/talkgroups.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/recorders/p25_recorder_qpsk_demod.cc:47:3: warning: Value stored to 'fmax' is never read [deadcode.DeadStores]
  fmax = 2 * pi * fmax / double(system_channel_rate);
  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/recorders/p25_recorder_qpsk_demod.cc:65:3: warning: Value stored to 'fmax' is never read [deadcode.DeadStores]
  fmax = 2 * pi * fmax / double(system_channel_rate);
  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 89%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/unit_tag.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/recorders/sigmf_recorder_impl.cc:10:3: warning: Potential leak of memory pointed to by 'recorder' [cplusplus.NewDeleteLeaks]
  return gnuradio::get_initial_sptr(recorder);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 90%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/unit_tags.cc.o
[ 90%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/plugin_manager/plugin_manager.cc.o
[ 91%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/call_concluder/call_concluder.cc.o
[ 92%] Building CXX object CMakeFiles/trunk-recorder.dir/lib/lfsr/lfsr.cxx.o
[ 92%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/freq_xlating_fft_filter.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/main.cc:705:11: warning: Value stored to 'recorder_found' is never read [deadcode.DeadStores]
          recorder_found = false;
          ^                ~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/main.cc:1424:10: warning: Value stored to 'current_time' during its initialization is never read [deadcode.DeadStores]
  time_t current_time = time(NULL);
         ^~~~~~~~~~~~   ~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/main.cc:1523:7: warning: Value stored to 'channel_added' is never read [deadcode.DeadStores]
      channel_added = true;
      ^               ~~~~
/home/zero/development/trunk-recorder/trunk-recorder/main.cc:1623:7: warning: Value stored to 'system_added' is never read [deadcode.DeadStores]
      system_added = setup_conventional_system(system);
      ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
[ 93%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/transmission_sink.cc.o
[ 93%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/decoders/fsync_decode.cc.o
[ 94%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/decoders/mdc_decode.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/recorders/p25_recorder_impl.cc:232:8: warning: Value stored to 'if_rate' during its initialization is never read [deadcode.DeadStores]
  long if_rate = phase1_channel_rate;
       ^~~~~~~   ~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 95%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/decoders/star_decode.cc.o
[ 95%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/decoders/signal_decoder_sink_impl.cc.o
[ 96%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/decoders/tps_decoder_sink_impl.cc.o
[ 96%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/decoder_wrapper_impl.cc.o
[ 97%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/plugin_wrapper_impl.cc.o
[ 98%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/selector_impl.cc.o
[ 98%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/wavfile_gr3.8.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:94:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&file_size, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:101:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&fmt_hdr_skip, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:103:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&compression_type, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:108:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&nchans, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:109:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&sample_rate, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:110:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&avg_bytes_per_sec, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:111:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&block_align, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:112:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&bits_per_sample, 1, 2, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/zero/development/trunk-recorder/trunk-recorder/gr_blocks/wavfile_gr3.8.cc:155:3: warning: Value stored to 'fresult' is never read [deadcode.DeadStores]
  fresult = fread(&chunk_size, 1, 4, fp);
  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
[ 99%] Building CXX object CMakeFiles/trunk-recorder.dir/trunk-recorder/gr_blocks/rms_agc.cc.o
/home/zero/development/trunk-recorder/trunk-recorder/plugin_manager/plugin_manager.cc:69:7: warning: Value stored to 'ret' is never read [deadcode.DeadStores]
      ret = 0;
      ^     ~
1 warning generated.
/home/zero/development/trunk-recorder/trunk-recorder/call_concluder/call_concluder.cc:194:7: warning: Value stored to 'result' is never read [deadcode.DeadStores]
      result = system(shell_command_string.c_str());
      ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[100%] Linking CXX executable trunk-recorder
[100%] Built target trunk-recorder
[100%] Linking CXX shared module ../../libstat_socket.so
[100%] Built target stat_socket
scan-build: Analysis run complete.
scan-build: 52 bugs found.
scan-build: Run 'scan-view /tmp/scan-build-2023-02-24-161307-12840-1' to examine bug reports.

@ZeroChaos-
Copy link
Author

Screenshot_2023-02-24_16-21-45

@robotastic
Copy link
Owner

This is pretty cool - you can install the scan-build tool in Ubuntu with clang-tools package: https://packages.ubuntu.com/kinetic/clang-tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants